Jump to content

Checkbox Favori Nasıl Yapabilirim örnek Koda Göre


StackByte
 Share

Recommended Posts

CheckBox Favori Nasıl Yapabilirim örnek Koda Göre

if durum then
nSecili = "0"
tSec = Page.EnumerateObjects();
    for i,v in pairs (tSec) do
    tip = Page.GetObjectType(v);
        if tip == OBJECT_CHECKBOX and CheckBox.IsEnabled(v) then
        CheckBox.SetChecked(v, durum);
        nSecili = nSecili + 1
        end
    end
    Label.SetText("Label1", "Seçilen Program Sayısı : "..nSecili);
else
    tSec = Page.EnumerateObjects();
        for i,v in pairs (tSec) do
        CheckBox.SetChecked(v, false);
        nSecili = "0"
        end
    Label.SetText("Label1", "Seçilen Program Sayısı : "..nSecili);
end
end

 

toplu seçim kodu bu bunu nasıl CheckBox1 den CheckBox24 kadar seçip kurdurabilirim ???

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...