scrollbar

Coding + IDE + Code-Editor + Syntax + User-Functions + Anything else

scrollbar

Postby pvl » Thu Jun 13, 2013 11:47 am

Hi,

THX Sloowdown

I have an main window as input.
The window is bigger than the screen (I am coding the automatic design of transformers
up to 500000 V and 500000000 Watt).
I have need of a vertical scrollbar.
I can't get it reading manuals and coding.

Please help me with a code example'.

Regards, Peter
pvl
 
Posts: 9
Joined: Tue May 01, 2012 7:17 am

Re: scrollbar

Postby Henning » Thu Jun 13, 2013 8:47 pm

The only things you can do is make the window (Form) smaller, or change the screen resolution.

A Form larger than the screen is an OS issue.

I don't know what you're showing, but try show it in a control to make it scrollable in the app.

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: scrollbar

Postby pvl » Sat Jun 15, 2013 9:13 am

Hi,

thx.

Can I use mixed c and basic in the code?

Regards, Peter
pvl
 
Posts: 9
Joined: Tue May 01, 2012 7:17 am

Re: scrollbar

Postby Henning » Sat Jun 15, 2013 10:56 am

Refereing to this: http://www.q7basic.org/forum/viewtopic.php?f=1&t=276&p=1278&hilit=include+c+code#p1278, it is possible to link c++ code.

I have not looked in to it, but I guess the c++ code is accessed with:
Code: Select all
{Public} Declare Sub | Function


Keyword Declare

Used to extend the language and gain direct access to the Qt library or other C/C++ files of the current project.


Look in the directories Q7B* how non-native controls are implemented. I.e. Q7BCsvReaderWriter ... Q7BSerialPort.

You find how to use them in Examples\Extensions\

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm

Re: scrollbar

Postby pvl » Mon Jun 17, 2013 12:19 pm

Hi,

Thx.

I used control (quite some time used).

Regards, Peter
pvl
 
Posts: 9
Joined: Tue May 01, 2012 7:17 am

Re: scrollbar

Postby Henning » Mon Jun 17, 2013 10:44 pm

Guess that means you got it working!?

/Henning
Henning
 
Posts: 522
Joined: Fri Aug 13, 2010 6:29 pm


Return to Questions & Answers

Who is online

Users browsing this forum: No registered users and 1 guest

cron