Recent

Author Topic: WinCE & archives  (Read 57267 times)

_Bernd

  • New Member
  • *
  • Posts: 21
WinCE & archives
« Reply #45 on: July 27, 2006, 01:05:46 pm »
Quote from: "tango13"
The only thing is that the code doesn't seem to work when placed in the OnShow event.

OnShow is not triggered. I don't know, if this is a WinCE-bug.

Regards, Bernd.

tango13

  • New Member
  • *
  • Posts: 36
WinCE & archives
« Reply #46 on: July 27, 2006, 02:15:44 pm »
Quote from: "_Bernd"
OnShow is not triggered. I don't know, if this is a WinCE-bug.

So this might be possibly true also for the OnClose event, because adding a formname.Close to the OnClose event doesn't solve the Application.Terminate problem (that is, I always need to tap the screen twice to close the form).

Thanks,
Piero

CCRDude

  • Hero Member
  • *****
  • Posts: 600
WinCE & archives
« Reply #47 on: July 27, 2006, 03:04:25 pm »
Have you tried OnActivate? Then it may be called when switching back from another application as well, but that shouldn't do any harm.
Or inside the main program source (the source of the .lpr), after the form gets created but before Run?

tango13

  • New Member
  • *
  • Posts: 36
WinCE & archives
« Reply #48 on: July 27, 2006, 03:23:14 pm »
Quote from: "CCRDude"
Have you tried OnActivate? Then it may be called when switching back from another application as well, but that shouldn't do any harm.

Yes, as I already wrote in another post, putting your code in OnActivate works well.

Quote from: "CCRDude"
Or inside the main program source (the source of the .lpr), after the form gets created but before Run?

This could be something more well worth trying... :)

Thanks a lot,
Piero

CCRDude

  • Hero Member
  • *****
  • Posts: 600
WinCE & archives
« Reply #49 on: July 27, 2006, 06:33:10 pm »
Oh sorry, didn't see the previous page of posts somehow ;)

Well, OnActivate is the best location anyway I just found out. In my framework I've got it there as well, since some modal dialogs or application switches may need to have these re-applied somewhow ;)

CCRDude

  • Hero Member
  • *****
  • Posts: 600
WinCE & archives
« Reply #50 on: July 29, 2006, 11:37:19 am »
Ok, here is it, not really cleaned up well, but at least got some documentation (though the default PascalCodeDoc stylesheet is not my case really) ;)

Documentation online
Documentation as CHM
pkMiniGUI.pas
pkWinINet.pas
pkStrings.pas

tango13

  • New Member
  • *
  • Posts: 36
WinCE & archives
« Reply #51 on: August 09, 2006, 03:38:38 pm »
Hi CCRDude!
I just accidentally found out that you published your framework some two weeks ago! :)
I didn't receive any forum notification of your post by email, that's why I am thanking you so late... ;)
I'll give it a test and let you know how it goes (it'll be great, I'm sure!).

Thank you very much!!!!!!!!!!
Piero

 

TinyPortal © 2005-2018