Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2015-06

fpGUI Features

12 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys
to Fabrício Srdic
Fabrício Srdic wrote
Does 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Fabrício Srdic
to Graeme Geldenhuys

2015-06-16 11:35 GMT-03:00 Graeme Geldenhuys
:

Show quoted text 8 lines
On 2015-06-16 14:59, Fabrício Srdic wrote: > > Does 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.

Can i draw a specific control at runtime? Does the controls have a "OnPaint" event?

Reply by email

Graeme Geldenhuys
to Fabrício Srdic
Fabrício Srdic wrote
Can 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Horacio Jamilis
to Graeme Geldenhuys: 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ó:

Show quoted text 24 lines
On 2015-06-16 15:49, Fabrício Srdic wrote: > Can 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 -

Reply by email

Graeme Geldenhuys
to Horacio Jamilis
Horacio Jamilis wrote
Does 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Leonardo M. Ramé
to Graeme Geldenhuys

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 wrote
Does 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Michael Van Canneyt
to Leonardo M. Ramé
Leonardo M. Ramé wrote
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

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.

Reply by email

Graeme Geldenhuys
to Leonardo M. Ramé: Hi Graeme, I know you hate web stuff, but did you take a look at this?…
Leonardo M. Ramé wrote
Hi 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Graeme Geldenhuys
to Leonardo M. Ramé: Hi Graeme, I know you hate web stuff, but did you take a look at this?…
Leonardo M. Ramé wrote
but 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 -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email