Author | Topic: A cell in dotted tdHiBrow | |
---|---|---|
RIBO SALAMANCA | A cell in dotted tdHiBrow on Mon, 25 Aug 2014 19:56:30 -0500 Hi Experts. Someone who helps me with this jam. Inside the tdHiBrow function, I want to display dotted click the cell, as opposed to a tdDEget when I include the bPick block. Example bPick := {|o| Iif(oDlg:cMode = 'edit',o:setData(SearchCode()),) ,setAppFocus(o))} oGet := tdDEget( 4.00, 10.50,fieldblock("code"),oDlg,aTset[1],14,,,,bPick; ,,,,cGetFont,,12,,,,,,aViewClr,,,,aHiLiteClr) Do not want a dropdown, I want the cell as shown with the dotted tdDEget appears. Try this but not. aFields := {{{"code","temp","Code" ,.T.,,bPick,,,,,,,,,}}} oDlg:oBrow := tdHiBrow(,,,,,,,,aFields,........) Stay tuned. Ribo Salamanca | |
Clayton Jones | Re: A cell in dotted tdHiBrow on Tue, 26 Aug 2014 14:23:45 -0400 Hello Ribo, >Someone who helps me with this jam. >Inside the tdHiBrow function, I want to display dotted click the cell, as >opposed to a tdDEget when I include the bPick block. > >Example >bPick := {|o| Iif(oDlg:cMode = 'edit',o:setData(SearchCode()),) >,setAppFocus(o))} > >oGet := tdDEget( 4.00, 10.50,fieldblock("code"),oDlg,aTset[1],14,,,,bPick; > ,,,,cGetFont,,12,,,,,,aViewClr,,,,aHiLiteClr) > >Do not want a dropdown, I want the cell as shown with the dotted tdDEget >appears. > >Try this but not. >aFields := {{{"code","temp","Code" ,.T.,,bPick,,,,,,,,,}}} >oDlg:oBrow := tdHiBrow(,,,,,,,,aFields,........) Your description is confusing to me, I'm not really sure what you want to do. But it seems like you want some special cell edit behavior in tdHiBrow(). Customized cell edit behavior can be done with the bItemSel element in the Columns Definition Array. If that contains a codeblock it is evaluated and replaces normal cell edit behavior. Please have a look at that. Regards, Clayton Clayton Jones www.cjcom.net Top-Down Library for Xbase++ X-DBU Database Utility X-MEMO Memo Field Replacement Spell-X Spell Checking for Xbase++ |