Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 1321
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: Thu May 09 02:53:41 CEST 2024

Total time taken to generate the page: 0.01957 seconds