Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class - width - cursor/relation
Message
From
03/11/2006 12:24:29
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
03/11/2006 11:58:41
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01166838
Message ID:
01166950
Views:
21
>>When I tweaked the class browser code to include dataenvironment of a form, I used the regular code which outputs all non-default PEMs, just the same as it does for other classes, and guess what - it found .width and .height for cursors. I.e. these properties do exist in the scx file. Here's what I found in the first one I looked at:
>>
Top = 20
>>Left = 10
>>Height = 90
>>Width = 106
>>Alias = "events"
>>BufferModeOverride = 0
>>Database = cpdb.dbc
>>CursorSource = "events"
>>Name = "curEvents"
>>
>>That's the content of the properties memo in the scx.
>>
>>So, yes, someone cheated :).
>
>I opened a form with a dataenvironment as a table, browsed it and voila ... The proporties you said I would find were there
>
>I guess they are used to store the position of the visual representation of the 'cursor'

And right you are - I just opened the same one again (with modify form), found that cursor in the DE, made it quite large, opened as a table and voila, its left and top were unchanged, but its width and height were as expected - close to 300.

I figure these properties are for edit mode only, and error out when mentioned at run time.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform