Jump to content

Application Bekletme Yardım


FatihhZor
 Share

Recommended Posts

Arkadaşlar ben program yazıyorum. 

Program 2 page'den oluşuyor.

 

page1 de .ini dosyasından bilgileri çekip sırasıyla gösteriyor.

 

page2 de ise bu bilgileri giriyorsunuz.

 

page1 de .ini deki dosyaları 10 saniyede bir çekmek istiyorum bunu application.sleep ile yaptığımda programda başka birşey yapamıyorum ne yapabilirim.

Link to comment
Share on other sites

Page 1 

On Show ► 

lbl1 = INIFile.GetValue("AutoPlay\\Scripts\\Label.ini", "try", "1");

lbl2 = INIFile.GetValue("AutoPlay\\Scripts\\Label.ini", "try2", "2");
 
if Label.SetText("Label1", lbl1) then
else Application.Sleep(10000);
if Label.SetText("Label1", lbl2) then
end
end

Page 2 ► 
Tamam tuşu -->  

lb1 = Input.GetText("Input1")
lb2 = Input.GetText("Input2")
 
INIFile.SetValue("AutoPlay\\Scripts\\netweb.ini", "try", "1", lb1);
INIFile.SetValue("AutoPlay\\Scripts\\netweb.ini", "try2", "2", lb2);
Link to comment
Share on other sites

Pardon page 2 de yanlış tuşu almışım :
 

lb1 = Input.GetText("Input1")
lb2 = Input.GetText("Input2")
 
INIFile.SetValue("AutoPlay\\Scripts\\label.ini", "try", "1", lb1);
INIFile.SetValue("AutoPlay\\Scripts\\label.ini", "try2", "2", lb2);
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...