Search FF3 examples that use the control "GRAPHIC CONTROL"

Started by Stephane Fonteyne, October 02, 2013, 10:51:19 AM

Previous topic - Next topic

Stephane Fonteyne

Dear support,

I have in my application inserted a "GRAPHIC Control" from the toolbox of FF3.

I was looking at the code for this control but I can not find an single examples that use this control and how it put the function in this control (the curve)

Can you please send on this an compilable worked example that use this Control. I want see in my GraphicControl Window the function that adjusts the user with the scrollbars.

I send my project + screenshot in attachment so you can then look to the code en place comments how  it works for activated the GraphicControl.

I have a little experience and knowledge of the GDI API functions
I learn this but its not better to learn GDI+?


Could you post an example how I can programmed and used the GraphicControl?

Screenshot with Graphic in Design Mode
=========================


Screenshot with result in TextBox, the output voltage
================================


Screenshot with the bitmap
=================


Screenshot with a graphic and the bitmap picture I want this result The Final
===============================================
Is that in FF3? and PBWin10 possible?



Kind regards
Stephane



Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support

Jean-pierre Leroy

Hi Stephane,

Did you click on "Search" on this forum ?

I don't think so; otherwise you would have been able to find some useful examples with "Graphic control".

I posted this one some months ago:

http://www.planetsquires.com/protect/forum/index.php?topic=2300
http://www.planetsquires.com/protect/forum/index.php?topic=3184

Could be useful for you.

Regards,
Jean-Pierre

Stephane Fonteyne

Quote from: Jean-Pierre Leroy on October 02, 2013, 11:05:20 AM
Hi Stephane,

Did you click on "Search" on this forum ?

I don't think so; otherwise you would have been able to find some useful examples with "Graphic control".

I posted this one some months ago:

http://www.planetsquires.com/protect/forum/index.php?topic=2300
http://www.planetsquires.com/protect/forum/index.php?topic=3184

Could be useful for you.

Regards,
Jean-Pierre

Jean,

I have this but I see in designmode "CustomControl" is that the same (code) as GraphicControl". Where put I the code for draw the grid and then the curve (function y = f(x) ?
Stephane Fonteyne
Ba. Elektronica - ICT
GSM : +32-xxxxxxxxxx
PowerBasic Developer & Hardware Support