
Originally Posted by
rune hacker
Ive been looking for something like this for a long time because i love scripts with it in it so ty lol.
But how i do change the size of stuff and move stuff around knowing where it will end up because ide want to move stuff around but how can i see where its going by putting in its size and coords?
I didn't use the form editor, since it keeps screwing up my coords. It's pretty simply though, like I think the first username box was (15,10) with a width of 200, so the password box for that would be (215,10).

Originally Posted by
Smartzkid
He'd have to post the main form file (.dfm).
Didn't use a DFM, hand-coded

Originally Posted by
Smartzkid
Looks pretty cool, but it'd be nicer if it would do unlimited accounts (like the srl one)
The problem with the SRL one is it's confusing and not all that well organized, thats why I made this
---
Oh, might as well put this here. This is a huge time-saver for making any custom forms:
SCAR Code:
program Form;
// By Widget
const
{+============================================================+}
{|} master = 'WidgetForm'; {|{ Parent form |}
{|{============================{|{==========================={|}
{|} element = 'TButton'; {|{ What type it is |}
{|{============================{|{============================|}
{|} name = 'Cancel'; {|{ It's name |}
{|{============================{|{============================|}
{|} caption = 'Cancel'; {|{ Value of it |}
{|{============================{|{==========================={|}
{|} text = ''; {|{ Value of it |}
{|{============================{|{==========================={|}
{|} width = '60'; {|{ Width |}
{|{============================{|{==========================={|}
{|} height = '20'; {|{ Height |}
{|{============================{|{==========================={|}
{|} color = ''; {|{ Background color |}
{|{============================{|{==========================={|}
{|} fontColor = ''; {|{ Text color |}
{|{============================{|{==========================={|}
{|} fromTop = '70'; {|{ Pixels from top of screen |}
{|{============================{|{==========================={|}
{|} fromLeft = '425'; {|{ Pixels from left of screen |}
{+============================={|{============================+}
indent = ' '; // How far to indent things
begin
cleardebug;
// writeln('// Form element generated by');
// writeln('// Widgets form generator...');
// writeln('');
writeln(indent+name+' := '+element+'.Create('+master+');')
writeln(indent+name+'.Parent := '+master+';')
if not (width='') then
writeln(indent+name+'.width := '+width+';')
if not (height='') then
writeln(indent+name+'.height := '+height+';')
if not (fromLeft='') then
writeln(indent+name+'.left := '+fromLeft+';')
if not (fromTop='') then
writeln(indent+name+'.top := '+fromTop+';')
if not (color='') then
writeln(indent+name+'.color := '+color+';')
if not (fontColor='') then
writeln(indent+name+'.font.color := '+fontColor+';')
if not (caption='') then
writeln(indent+name+'.caption := '+Chr(39)+caption+Chr(39)+';')
if not (text='') then
writeln(indent+name+'.text := '+Chr(39)+text+Chr(39)+';')
//writeln(indent+name+'.visible := True')
writeln('')
// writeln('// Remember to add " var '+name+':'+element+'; ".')
end.
- Widget
EDIT!:

Originally Posted by
Smartzkid
Looks pretty cool, but it'd be nicer if it would do unlimited accounts (like the srl one)
I just realized I can do arrays of TEdits... I'll be working on this =D