Hello,
Does FpGUI supports custom drawing or custom styles of the controls?
Regards

Mailing lists / fpc-pascal / 2015-06
12 messages · 6 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hello,
Does FpGUI supports custom drawing or custom styles of the controls?
Regards
Fabrício Srdic wroteDoes FpGUI supports custom drawing or custom styles of the controls?
Yes, the whole of fpGUI is custom drawn, and it has a built in theming engine with 7 standard themes. There are many other themes available from contributors too.
Regards,
- Graeme -
2015-06-16 11:35 GMT-03:00 Graeme Geldenhuys
:
Can i draw a specific control at runtime? Does the controls have a "OnPaint" event?
Fabrício Srdic wroteCan i draw a specific control at runtime? Does the controls have a "OnPaint" event?
Yes of course. You can create your own controls from TfpgWidget, or use an existing widget class and override the OnPaint event.
Class API documentation:
http://fpgui.sourceforge.net/apidocs/
Feel free to join us in the tiOPF Support newsgroup to discuss anything further in more detail. Myself and many others will be able to can help you there. The following URL has all the details on how to connect to the NNTP News server (news client or web interface).
http://fpgui.sourceforge.net/support.shtml
Some community projects and screenshots:
http://fpgui.sourceforge.net/community.shtml
http://fpgui.sourceforge.net/screenshots_apps.shtml
Regards,
- Graeme -
Thanks a lot!
Regards
Yes of course. You can create your own controls from TfpgWidget, or use an existing…
Graeme...
Does it support Android on any way?
I tested many ways to create Android apps with FPC (and Lazarus), and until now the best one was with customdrawn interfase, but not good enaught to me (the edit control does not work as good as I expected). I think that using fpGui will make better app.
Thanks for share your work
Horacio
El 16/06/2015 a las 13:12, Graeme Geldenhuys escibió:
Horacio Jamilis wroteDoes it support Android on any way?
I once heard somebody was working on a port, but I can't remember who that was. If LCL-Customdrawn could do it, then it must be possible with fpGUI too. I unfortunately don't know anything about Android development yet.
enaught to me (the edit control does not work as good as I expected).
No surprise really. The LCL-Customdrawn widgetset is still in Alpha state, and it needs a lot more development effort before it is usable even on a desktop environment. There are a lot of things still missing.
Regards,
- Graeme -
Hi Graeme, I know you hate web stuff, but did you take a look at this? http://www.zebkit.com/
Its something similar to your approach with fpGui, but using HTML5 Canvas, I'm dreaming of seeing fpGui on the web, generated from FPC. Leonardo M. Ramé
http://leonardorame.blogspot.com
From: Graeme Geldenhuys
To:
Sent: Wednesday, June 17, 2015 5:20 AM
Subject: Re: [fpc-pascal] fpGUI Features
Horacio Jamilis wroteDoes it support Android on any way?
I once heard somebody was working on a port, but I can't remember who that was. If LCL-Customdrawn could do it, then it must be possible with fpGUI too. I unfortunately don't know anything about Android development yet.
enaught to me (the edit control does not work as good as I expected).
No surprise really. The LCL-Customdrawn widgetset is still in Alpha state, and it needs a lot more development effort before it is usable even on a desktop environment. There are a lot of things still missing.
Regards,
- Graeme -
Leonardo M. Ramé wroteHi Graeme, I know you hate web stuff, but did you take a look at this? http://www.zebkit.com/ Its something similar to your approach with fpGui, but using HTML5 Canvas, I'm dreaming of seeing fpGui on the web, generated from FPC
Using the HTML5 canvas is IMHO the worst possible approach to programming the web. None of the regular browser features will work. Find does not work, accessibility does not work. Maybe good for graphical games, but for regular apps this is really the worst option.
Michael.
Hi Graeme, I know you hate web stuff, but did you take a look at this?…
Leonardo M. Ramé wroteHi Graeme, I know you hate web stuff,
Damn, I didn't know it was such public knowledge. ;-)
but did you take a look at this? http://www.zebkit.com/
Wow, very interesting. I haven't seen that before.
Its something similar to your approach with fpGui, but using HTML5 Canvas, I'm dreaming of seeing fpGui on the web, generated from FPC.
I always welcome patches. ;-) With the 'develop' branch now having configurable window handles (default is one window handle per Form, not widget), it should make it a bit easier. I believe Michael or somebody else has (or is) working an a Object Pascal to JavaScript compiler. So maybe there is hope for your dream. Just don't wait for me to implement it please. :)
Regards,
- Graeme -
Hi Graeme, I know you hate web stuff, but did you take a look at this?…
Leonardo M. Ramé wrotebut did you take a look at this? http://www.zebkit.com/
That's a good start. Just tried it with my Firefox 38.0.1 and the demo doesn't mouse over detected, can't click any of the demo's tabs. Then tried with Chromium 42, and finally something works.
And that is why I love (not) the web. :-D
Regards,
- Graeme -
Using the HTML5 canvas is IMHO the worst possible approach to programming the web. None…
Michael Van Canneyt wroteUsing the HTML5 canvas is IMHO the worst possible approach to programming the web.
A WEB GUI such as the QNAP NAS boxes provide seems very appropriate.
I did not find out what tool set they use :-( .
-Michael