Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid build in the fly and ShortCut Menu
Message
 
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00492627
Message ID:
00492647
Views:
14
>>Hi Nadya,
>>
>>>if I click on the "free" area of the grid (e.g. the place without columns).
>>
>>You are right, i see that before i post my question.
>>
>>
>>>You can either create custom grid column or custom header, so your menu will appear after clicking on the header.
>>
>>I think i don't well understand..How can i do that?
>>
>>Thank's
>>
>>João Batista
>
>Well, you have to create a program, say, myHeader.prg. In this program you'll define your header class. Define class MyHeader as Header etc. Then you have to use in your code for the initiation of the grid:
>Pseudocode
>for i=1 to this.columncount && this a grid
>  Substitute the native header with your header class
>next
>
>Download Cetin's Basoz two grid classes from the Download section, you'll see, how he uses this idea in his multiselect grid. Or there were bunch of threads here on similar topic and few FAQs. One of them is Mike's H, another is Vlad's G.
>
>HTH

Ok, here is the perfect example of required functionality: How do I add event code to Grid Controls built at run-time? October 24, 2000 14:31 FAQ #7967
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