Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Header in Grid used as Listbox
Message
From
30/09/2005 01:31:25
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01054695
Message ID:
01054757
Views:
20
>Malcolm,
>
>Thank you for your suggestion.
>
>The transparent shape over the header is a good idea but it could be a problem with resizing the form/grid and the sizing the header down to zero size would be a better option. I could then put the column literals above the grid as label objects.
>
>However, you would think that VFP would have a way of stopping the default clicking of the header if the grid was really supposed to act as a listbox. Let's face it, the listbox object doesn't support this behaviour!
>

nodefault work on MouseDown in VFP8,
and this prevents the movement of the column.

On VFP9 Header.mousepointer=1 fix the mouse icon.

NODEFAULT doesn't work on header.MouseUp ( a bug )

>Perhaps somebody else has worked out how to circumvent this problem?
>
>Rex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform