Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with afterrowcolchange of grid
Message
From
07/05/2004 04:03:24
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/05/2004 01:54:49
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00901839
Message ID:
00901848
Views:
28
>i allow edit in my grid. initially grid is readonly. if my user clicks on edit menu, i set menuedit=.t. and readonly=.f. for that particular row. then i'm able to edit then save it using =tableupdate(.t.)
>
>this grid is from table drs. it has field "description" that has an equivalent pdf file. when my user double-clicks on column description, my program opens adobe acrobat with the equivalent pdf file. i just open it based on drs.description+".pdf".
>
>now my problem is, when my user edits description then double clicks, my program cannot find the pdf. this is because description has been changed but not the name of the pdf.
>
>i know i have to issue some rename commands in my form. but i do not know where to put the code. i tried putting it in the afterrowcolchange() of grid, but it does not pass thru my condition if menuedit=.t.. as a result, the pdf is not renamed.
>
>can you help me?
>
>TIA.

Put it in dblclick. Rename then continue.
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