Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: AV's and IWButton.picture.data: the parameter is incorrect
#16
Sorry, a bit confused.. Is it still wrong even AFTER you moved everything to UserSession unit ?

I've read through the two below links, and as I read them, creating a datamodule, adding it to the uses clause of the UserSession unit, and creating (and destroying) it in UserSession code, should be the way to work with user safe vars. For me these are ADO components. By creating the Datamodule, putting all ADOAuery components on to that, and the ADO DBConnection as well, I should be able to used them in subcreated forms, with the prefix like: UserSession.dm.AdoQuery1.

According to the Session Overview document data should be safe for the user and shielded from other users and sessions. I expect that should be the same for your TBitmaps.

Link to Session / Webapplication description: https://doc.atozed.com/en/iw14/develop/session
and link to User Session Overview: https://doc.atozed.com/en/iw14/develop/s...-overview/
Reply


Messages In This Thread
RE: ERROR: AV's and IWButton.picture.data: the parameter is incorrect - by SorenJensen - 02-09-2020, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)