#91352 - 2003-02-05 10:48 PM
Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Ok... so I am trying to build a form using kix forms just to take some user input. Things like username, password... basically all text input. I would also like to use a combo box that I populate the options from an ini file. Is this possible. I understand the basics about how to get the form visable but I dont know how to take input from it or use things like ** for passwords... can anyone point me to any good scripts that I can cheat from? Thanks in advance for your help. Also if you have any ideas you have done before and can copy to this message I would really appreciate it.
Have a good day.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91354 - 2003-02-05 10:55 PM
Re: Fun w/KixForms
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Austin,
Have you looked at the User/Network Management tools from Ben?
http://www.rgcweb.org/kix/
Is this what are looking for?
Kent
|
|
Top
|
|
|
|
#91355 - 2003-02-05 10:56 PM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Looking through the archives on kixforms right now.. will look at this link as well.
Thanks!
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91356 - 2003-02-06 11:54 PM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Trying to use a txt box to accept a date field.. is there anything like a calendar that I am missing or is there any way to verify the date that was entered is in fact a valid date that anyone knows?
Thanks for the help in advance.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91357 - 2003-02-07 12:24 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I am not sure if I can post this correctly or not.. here is a sample of the code.
code:
$lblleft = 10
$Form = CreateObject("Kixtart.Form")
$fradetails = $FORM.Frame("Query Details") $fradetails.HEIGHT = 265 $fradetails.Left = $fraLeft $fradetails.TOP = 95 $fradetails.WIDTH = 355
$lblCurProcess = $fradetails.Label("Calling RAND to calculate routes...") $lblCurProcess.HEIGHT = 19 $lblCurProcess.WIDTH = 300 $lblCurProcess.Left = $lblleft $lblCurProcess.TOP = 170
What I am trying to do is within the function that is called from this form (not shown) I want to use $lblCurProcess as a status indicator. Basically I want to change the text... well whenever I try to change it it is printing under "Query Details" as well as in the correct position... any thoughts on why this is? Can post more code if needed.
Thanks
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91358 - 2003-02-07 12:31 AM
Re: Fun w/KixForms
|
Shawn
Administrator
   
Registered: 1999-08-13
Posts: 8611
|
Hi Austin,
You dont show it but are you using the Text property of the label to change the message ? for example:
code:
Function OnSomeEvent()
$lblCurProcess.Text = "Doing something..."
EndFunction
[ 07. February 2003, 00:32: Message edited by: Shawn ]
|
|
Top
|
|
|
|
#91359 - 2003-02-07 03:34 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Thanks Shawn.. I guess I just was confused.. I was using
code:
$lblCurProcess = $fradetails.Label("Calling RAND to calculate routes...")
To change the text...
I will use the correct method now.. ; )
Any ideas about the screen going white like that while the other process is running? I can switch between other apps and no problems... I would say that I could set a property of the form but since I am using shell and need to because I need to wait for the program to complete before moving on.. I can do that.
Anyways thanks so much.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91361 - 2003-02-07 04:49 AM
Re: Fun w/KixForms
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Shawn... Will your Shell, mimic the functionality of WSHPipe(). Lonk was looking to do something like that.
|
|
Top
|
|
|
|
#91363 - 2003-02-07 04:57 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Wow.. Shawn that would be great.. I will stay tuned.. is there a mailing list I can subscribe to for KixForms?
Also is there an editor for kixforms that is graphical.. any talk of one?
Thanks and GOOD WORK
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91365 - 2003-02-07 05:33 PM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I love it.. ! Very sassy...
Ok next forms question. Got everything working like a charm just wondering how I might do something that I just thought of. I am using this app for reporting out of SQL. I am writing the report to a txt file then opening the txt file with notepad. Wondering if I might be able to return that text file to a form so that it isnt just running in word.. would look nicer I think... any thoughts on that one? How would I control print dialog or save dialog?
Also anyone ever seen anything like a calendar deal where I can use a data field but allow user to see calendar to pick?
Just thiking out loud.
Thanks for the dialog so far.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91368 - 2003-02-10 12:05 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
I like the direction I see this conversation headed... you say for the calendar it is yet another control.. is there a way I can do it now?
Regarding the shell thing I will look forward to when that is supported.
Thanks for the converstation.
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91370 - 2003-02-10 02:03 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Downloading it now... thanks so much for the help thus far.. will try to figure it out.
Later
_________________________
Austin Henderson
|
|
Top
|
|
|
|
#91371 - 2003-02-10 02:11 AM
Re: Fun w/KixForms
|
Austin
Seasoned Scripter
Registered: 2002-01-24
Posts: 439
|
Sorry to ask a dumb question but this type viewer says that it does not contain valid type information when I try to open comctl32.dll. Am I doing something wrong? If so how should I use the viewer?
Thanks
_________________________
Austin Henderson
|
|
Top
|
|
|
|
Moderator: Shawn, ShaneEP, Ruud van Velsen, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Mart
|
0 registered
and 1003 anonymous users online.
|
|
|