Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Fri Nov 24, 2017 6:12 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: DataGrid CEll reset
PostPosted: Mon May 15, 2006 8:22 am 
Offline

Joined: Mon May 01, 2006 3:27 pm
Posts: 60
I am using a datagrid to hold data which I plan to be able to edit at run time. One of my colums I neet to toggle the selected cell on each click. I have to reset the cell using





Code:



   EML_List.SelectCell(CellRow,0,true)







or additional clicks on the same cell will not be detected. The problem is I use BgColor on selected cells and it shows up on the grid. Is there a way to allow multiple clicks without using selectcell ?



Jerry[/quote]


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 12:13 pm 
Offline
QSI Support
QSI Support
User avatar

Joined: Wed Mar 08, 2006 12:25 pm
Posts: 881
Location: Salt Lake City, Utah
Here is what you probably want to do:



Code:

'Called when a cell is selected via the touch screen

func Click()

   'Place your code here to process the selection

endfunc



func DblClick()

    'This is whenever you touch the already selected cell

    '(i.e. this is different than a double click in Windows)



    'Delegate do the Click event

    Click()

endfunc


_________________
Jeremy
http://www.beijerinc.com


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 16, 2006 1:01 pm 
Offline

Joined: Mon May 01, 2006 3:27 pm
Posts: 60
Thanx



Jerry


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group