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 » Community » Newbie corner » Friends? Cousins? Half-siblings?
Re: Friends? Cousins? Half-siblings? [message #54992 is a reply to message #54977] Sun, 04 October 2020 07:06 Go to previous messageGo to previous message
jimlef is currently offline  jimlef
Messages: 90
Registered: September 2020
Location: US
Member
I believe I overthink things too much - someone (several someones actually) told me that before...

My solution to this issue is to override the Open function for each affected table/class thus:
void InvoicesWindow::Open(Ctrl* owner)
{
	InvoicesArray.ReQuery();
	InvoicesArray.GoBegin();
	
	TopWindow::Open(owner);
}


That way I don't need to expose extra access, pass pointers etc...

I haven't found any issues with this yet... Rolling Eyes Thanks all!
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: double click
Next Topic: sqlarray and sqlite
Goto Forum:
  


Current Time: Sun May 05 16:27:48 CEST 2024

Total time taken to generate the page: 0.02358 seconds