I hope others find this useful. :)
http://bugs.freepascal.org/view.php?id=12178
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Mailing lists / lazarus / 2008-09
12 messages · 5 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
I hope others find this useful. :)
http://bugs.freepascal.org/view.php?id=12178
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
Graeme Geldenhuys wroteI hope others find this useful. :) http://bugs.freepascal.org/view.php?id=12178
Thanks Graeme for this useful contribution. Elegantly coded and works flawlessly. Simple is good.
Yours
Howard
I hope others find this useful. :) http://bugs.freepascal.org/view.php?id=12178 - Graeme…
Graeme Geldenhuys wroteI hope others find this useful. :) http://bugs.freepascal.org/view.php?id=12178
Why does it have:
// alias type
TStartDir = frmConfigFileBrowser.TStartDir;It seems to compile and install fine without the type redefinition alias.
Vincent
I hope others find this useful. :) http://bugs.freepascal.org/view.php?id=12178 - Graeme…
Graeme Geldenhuys wroteI hope others find this useful. :) http://bugs.freepascal.org/view.php?id=12178
Applied in r16792.
Some remarks (tested on windows 2000):
* I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOWS}. The latter is not defined for wince. But maybe you don't want this code to be used on wince.
* On windows it doesn't seem to remember the last selected dir or the the project dir.
* If I have the file browser window open and restart the IDE, the file browser window is not restored. I have to choose View -> File browser window again to see it.
Thanks,
Vincent
If you look at the code, you'll see that it uses the standard lazarus interface for settings, so that is very strange ?
* If I have the file browser window open and restart the IDE, the file browser window is not restored. I have to choose View -> File browser window again to see it.
That was never the intention, I wouldn't even know how to do this. Is there an IDE interface for this kind of behaviour ?
Michael.
Applied in r16792. Some remarks (tested on windows 2000): * I would use {$IFDEF WINDOWS}…
Vincent Snijders wrote> > http://bugs.freepascal.org/view.php?id=12178 Applied in r16792.
Thanks.
Some remarks (tested on windows 2000): * I would use {$IFDEF WINDOWS} instead of {$IFDEF MSWINDOWS}. The latter is not defined for wince. But maybe you don't want this code to be used on wince.
Can the Lazarus IDE itself actually run on WinCE? I would have imagined, no. The IFDEF doesn't really matter, I simply use MSWINDOWS since forever... :-) I'll change it if required.
* On windows it doesn't seem to remember the last selected dir or the the project dir.
I'll look into it.
* If I have the file browser window open and restart the IDE, the file browser window is not restored. I have to choose View -> File browser window again to see it.
A known issue. It also doesn't remember it's position, only size. I asked previously how to add File Browser to the list of IDE Windows (Environment Options | Windows tab), but I didn't get any response. I've done it before, but that was with code that was built into the IDE, not with an optional IDE add-on package. Anybody got a clue what API I can use?
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
If you look at the code, you'll see that it uses the standard lazarus interface for…
I haven't debugged it. But I think the directory is stored, but not correctly applied. It doesn't work for the other option: using the current project dir.
Vincent
Thanks. Can the Lazarus IDE itself actually run on WinCE? I would have imagined, no. The…
I don't think it runs on wince. But nevertheless, if you choose MSWINDOWS, you ignore wince, and you may do that, but not unknowingly. That is why I made the remark.
Thanks.
Vincent
If you look at the code, you'll see that it uses the standard lazarus interface for…
Michael Van Canneyt wrote> * On windows it doesn't seem to remember the last selected dir or the the project dir. If you look at the code, you'll see that it uses the standard lazarus interface for settings, so that is very strange ?
I noticed the same...
Like I mentioned... I did this before with the FPDoc Editor window. If you register it with the Environment options | Windows tab, then it works. But I don't know of any API I can use if the code is optional (like in the case of a lazarus add-on package). Mattias?
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
I haven't debugged it. But I think the directory is stored, but not correctly applied. It…
Settings are stored in the idebrowserwin.xml file. Under linux, that's in the $HOME/.lazarus/ directory. Not sure where exactly Lazarus config files are stored in Windows.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
Thanks. Can the Lazarus IDE itself actually run on WinCE? I would have imagined, no. The…
Graeme Geldenhuys wroteCan the Lazarus IDE itself actually run on WinCE? I would have imagined, no.
Why not?
Windows CE is a very flexible operating system, and is also used in tablets, not only in PDAs. If the system has a big enought screen it should be able to run Lazarus.
I only have a PDA emulator to test, so I personally don't use this combination, but it is possible.
Ha, I was thinking only in terms of PDA's. :-) I thought Tablets run a copy of Windows XP, but I guess not. ;-)
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/