SRL Archive - Discussions and Debates

Most people have questions about forms!


steth1010

2007-05-16 22:03:19

Alright, not just me but alot of people want to learn forms. I know the basics like designing and when press the button the form closes. A suggestion because people would be happy but someone should make a tut with pictures etc. In the tut should be like how to make player setups, when press a certain button another form opens up for example. Im making a multi skills script and there will be buttons say like WoodCutting, Fletching, ETC!

When one button is pressed teach how to like make it open up another form and have other information you can add in! That would be very helpful for alot of people even me! I would appreciate it and so would everyone else!r

Thanks.

rkroxpunk

2007-05-17 02:39:47

go to moparisthebest.com and read mad cows tut it's the best by far. It explains all that stuff. The hardest thing is finding out all the different things u can type in to make a button do something

steth1010

2007-05-17 22:00:10

alright thanks il try that

Secet

2007-05-19 07:44:08

There are actually pretty many form tutorials, and you can just test things yourself :) Also, Delphi helps you :)

omgh4x0rz

2007-05-19 14:04:03

Making it open another form is pretty easy. Just make another form, and on the buttonPress procedure do

procedure openTheOtherForm(sender : TObject);
begin
safeInitOtherForm;
safeshowOtherFormModal;
end;

Then when you add this to the button's property it will open the new form.
button1.OnClick:=@OpenTheOtherForm;

Widget

2007-05-19 21:37:58

I might make a thing with the methods and properties similar to the HelpFile in Scar for some Form components. There's tons of random crap you can do =)

steth1010

2007-05-19 22:43:49

yes please do because there is a lot of crap and please make very ddetailed with pics, lol i would pay u for it if I could but I can;t buy or sell here :P