AW: O$: assign $top to a report text object

Bastiaan Olij bastiaan at basenlily.me
Fri Jul 25 05:19:56 EDT 2014


Hi Rudolf,

I'm aware of the $floating functionality though I'm not sure if its
still active in Studio. Pretty much every field in our app is floating
so I hardly look at it:)

I don't know if I've overlooked something when I implemented all this or
not but I had lots of problems with just changing $top through notation
in an instance. Yes $top in the property manager when you are designing
your report is the distance to the top of the section the field is in
but in code it was translated to a combination of $lineno and $top which
is now relative to the top of that line.

I don't know if I was just doing something crazy, if this is a
difference between the report class and an instance, or if this is some
voodoo going on in the background. I do know I often had issues with
Omnis getting it wrong and fields jumping around, well at least in my
Studio 4 days.

That all said, Omnis reports is the weakest link in my Omnis knowledge
so I may be barking up the wrong tree completely.

Cheers,

Bas

On 25/07/14 6:12 PM, Rudolf Bargholz wrote:
> Hi Bas,
>
> Sorry, I was not clear enough in my response, and I completely mixed up $vertical and $floating :-( . $lineno is still used, as you say, but only for $floating=kFalse. When $ floating =kTrue then $top is used in relation to the current section. 
>
> Regards
>
> Rudolf




More information about the omnisdev-en mailing list