Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Columnwidth of a grid
Message
From
06/12/2001 11:29:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/12/2001 10:19:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00590438
Message ID:
00590588
Views:
28
>Okay, I have done what you have told me, but what do you mean by "Now go to dblclick of grid and code what you want"?
>
>Because when i put a messagebox there, nothing happens when i doubleclick the grid.
>
>Isn't that strange?
>
>Ron.

Ron,
I think you missed something. After those steps when you check text1 in grid.columns, for dblclick you should see code 'this.parent.parent.dblClick()' written. Check that.
If right then any dblclick on textboxes call grid's dblclick method. However as I said before I assumed you were using default controls (text1). If currentcontrol is different then dblclick code won't be invoked. You could extent the code to write dblclick code to other controls too :
for each oControl in oCol.Controls
 if upper(oControl.BaseClass) # 'HEADER' and pemstatus(oControl,'DBLCLICK',5)
     oControl.WriteMethod(...)
 endif
endfor
Cetin

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform