Peter Haworth <p...@mollysrevenge.com> on February 27, 2011 at 12:24 PM
-0800 wrote:
>I think you need to do this in the EditFieldText and CloseFieldEditor
>commands in the datagrid library.  I haven;t used them but they are
>writen up in detail in Trevor's Datagrid Manual.

I have been able to enable the menu items by adding to the EditValue
command in the behavior script for this field

command EditValue
   if there is a field 1 of me then
      EditFieldText the long ID of field 1 of me, the dgIndex of me, the
dgColumn of me
   end if
   Enable  menuItem 1 of button "EditMenu"
   Enable  menuItem 2 of button "EditMenu"
   Enable  menuItem 3 of button "EditMenu"
end EditValue

I don't know where or how to set the disable commands when I exit this
field


******************************************
Stewart Lynch
CreaTECH Solutions
sly...@createchsol.com
604.484.8499
Skype:StewartLynch

There are only 10 kinds of people.  Those who understand binary and those
who don't.
******************************************

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to