Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to move and resize a browse window programmatically
Message
 
 
To
27/08/2010 00:10:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01478737
Message ID:
01478745
Views:
41
>>>I want to programmatically show several cursors in cascaded browse windows of given sizes. Does anyone know how can this be accomplished?
>>>
>>>TIA,
>>>
>>>Alex
>>
>>Did you try looking into browse command in help? In particular, for Window option?
>
>I can't see the browse windows! This is my code
>
>
>* Before the loop
>	lnRowSize = 100
>	lnColSize = 100
>	lnWindowHeight = lnRowSize * 10
>	lnWindowWidth  = lnColSize * 100
>	lnRow = 0
>	lnCol = 0
>
>* Inside the loop, after cursor is defined
>	lnRow = lnRow + lnRowSize
>	lnCol = lnCol + lnColSize
>	DEFINE WINDOW (lcCursor) AT lnRow,lnCol SIZE lnWindowHeight,lnWindowWidth
>	BROWSE IN WINDOW (lcCursor) NOWAIT
>	SHOW WINDOW (lcCursor)
>
>
>Do you see what I did wrong?
>
>Thanks,
>
>Alex

Doesn't work for me either. Try manipulating browse as a grid using name clause.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform