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! » How to use callbacks with "embedded" controls...
Re: How to use callbacks with "embedded" controls... [message #2637 is a reply to message #2636] Wed, 19 April 2006 17:25 Go to previous messageGo to previous message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
Quote:


I've noticed that if you comment
// tab1.arr.WhenCtrlsAction = THISBACK(UpdateInfo);
then the consecutive click on the option image will not produce a PromptOK dialog.
So now I'm a bit confused on the place where I have to put the hands to correct this behaviour.
I hope to have been clear.
Luigi


Yes, that's why I commented "//try this here. Later we'll rearrange..."

1. You need to think about the sequence:
1.1. arr.WhenCtrlsAction=THISBACK(CursorOnFocus?);
1.2. with inside arr.ChildGotFocus();
then
1.3. warn (Prompt) user with the possibility to cancel or confirm the change or only to display warning in status.

2. and only then let update and invoke maybe some other arr.When???... update info

Try or leave it to me... Smile

[Updated on: Wed, 19 April 2006 17:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to create a non modal dialog
Next Topic: ForlanoVega ArrayCtrl console app...
Goto Forum:
  


Current Time: Thu May 09 04:56:39 CEST 2024

Total time taken to generate the page: 0.02445 seconds