KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Form problem

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
jose3
KiXforms Regular
KiXforms Regular


Joined: 05 Mar 2003
Posts: 55
Location: Buenos Aires - Argentina

PostPosted: Wed Nov 26, 2003 7:26 pm    Post subject: Form problem Reply with quote

Guys:
I am working on a form that has a button wich opens another smaller form in front of it. The second form opens but the first one looses all the objects and looks empty.
$FORM.reshesh does not work.
Any clues?

_________________
I am green and I am proud.
THE CABBAGE MAN
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Chris S.
KiXforms Enthusiast
KiXforms Enthusiast


Joined: 05 Mar 2003
Posts: 241

PostPosted: Wed Nov 26, 2003 8:08 pm    Post subject: Reply with quote

Yeah. Wait for the next beta of KiXforms (or get Shawn to send you a special build).

Current beta can only refresh one form at a time, so any action in front of the inactive form will cause it to behave "like" a hung app.
Back to top
View user's profile Send private message MSN Messenger
jose3
KiXforms Regular
KiXforms Regular


Joined: 05 Mar 2003
Posts: 55
Location: Buenos Aires - Argentina

PostPosted: Wed Nov 26, 2003 8:22 pm    Post subject: Reply with quote

Thanks god Chris!!
Before posting I have tried with many things, I could be still trying. IŽll ask him....thaaaanks

SSHHHAAAAAWWWNNNNNN BBBBBBAAAAASSSSSTTAAAAA!!!!! SSSSEEEEENNNNNNNDDDDDDDDD DDDDDLLLLLLLLLLLLLLLLLLLLLLL!!!!!!!

catch u at msn.

Very Happy Rolling Eyes Very Happy

_________________
I am green and I am proud.
THE CABBAGE MAN
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jose3
KiXforms Regular
KiXforms Regular


Joined: 05 Mar 2003
Posts: 55
Location: Buenos Aires - Argentina

PostPosted: Thu Nov 27, 2003 7:28 pm    Post subject: Reply with quote

As allways Wink Shawn was very kind and sent me this sample to solve the problem. Using the 'groupbox' instead of the 'frame' was the difference.

Code:

Break on

$form = CreateObject("kixtart.form")

$groupbox1 = $form.groupbox
$groupbox1.center
$groupbox1.text = "groupbox1"

$checkbox1 = $groupbox1.checkbox()
$checkbox1.text = "checkbox1"
$checkbox1.Left = 10
$checkbox1.top = 20

$button1 = $groupbox1.button()
$button1.Left = 10
$button1.top = $checkbox1.bottom + 5
$button1.onclick = "click()"
$button1.text = "click..."

$form2 = CreateObject("kixtart.form")
$form2.size = 200,200
$form2.center

$form.show
While $form.visible
 $=Execute($form.doevents)
Loop
Exit 1
Function click()
 $form2.show()
EndFunction


Thanks for the help guys.

_________________
I am green and I am proud.
THE CABBAGE MAN
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group