November 01, 2025, 01:11:26 PM

News:

IWBasic runs in Windows 11!


Schrollbar problem

Started by Techno, November 03, 2008, 04:24:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Techno

Hi Sapero

I can create an shrollbar but how can I get en set de scrollbar.

I have this code but I don't know how I can this ported into EBASIC

procedure TForm1.SchrollBar1Change(Sender : TObject)
begin
       Edit1.Text := floatToStr(SchrollBar1.Position);
       Timer1.Interval := SchrollBar1.Position
end;

procedure TForm1.Timer1Timer(Sender : TObject)
begin
      output := (output + 1) and 1
      DTR (output);
      RTS (output)
end;

Questions
======

1) Can you please give me how I can this ported into EBASIC, I haven't delphi
2) How can I written an Timer event subroutine in EBASIC?
3) How can I read en write in de schrollbar

There are no examples how I can do this

With kind regards
Stephane

Ionic Wind Support Team

Scrollbars are covered in detail in the users guide.

Click the "help" menu in the Emergence IDE, select "EBASIC users guide"

Open Windows Programming->Controls->Using Scrollbar Controls.

See also the controldemo.eba sample.

Ionic Wind Support Team

GWS

Techno, another example - you should not normally address a question to a specific person.

This is not a company 'help desk'.

I know Sapero is a very knowledgeable programmer, and he is often kind enough to answer problems, but he is under no obligation to do so.  He has his own work and life to get on with.

Please just post questions where you are really stuck for a solution, or would like advice, to the Forum in general - and in this case there are many examples on using scroll bars available if you look for them.

Quite often an answer will be provided by someone, but not necessarily straight away.  We all have other things we are getting on with ..  ;)

best wishes, :)

Graham
Tomorrow may be too late ..