U++ framework
Do not panic. Ask here before giving up.

Home » Extra libraries, Code snippets, applications etc. » U++ users applications in progress and useful code snippets, including reference examples! » "Forlano tabs" - fill EditFields from ArrayCtrl Row...
Re: "Forlano tabs" - fill EditFields from ArrayCtrl Row... [message #2221 is a reply to message #2220] Tue, 04 April 2006 17:36 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1324
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
forlano wrote on Tue, 04 April 2006 16:29

Just a little note.
I tried the above code and the application crashed when I left_click not on the record inside the arrayctrl. In this case the int_row is equal to -1. To prevent it I've added the line:

if (int_row < 0) return;

under the declaration of int_row and seems to work.
Luigi


thanks, I didn't test "the bad cases"... Smile
Also, wouldn't it be better to send int_row as a param?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting data in a row of ArrCtrl
Next Topic: How to call the methods of a class from another class
Goto Forum:
  


Current Time: Wed Jul 15 09:29:51 GMT+2 2026

Total time taken to generate the page: 0.00512 seconds