BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: Knott ที่ มิถุนายน 18, 2011, 11:31:56 AM
-
กำลังหัดเขียน ue ใช้ script นี้ครับ
var i : Integer;
begin
i := GetFormInputValue(90);
if i := 1 then
begin
CheckGroup91.Enabled := True;
end else
begin
CheckGroup91.Enabled := False;
end
end;
แล้วเจอ error ตามรูปครับ
ขอคำชี้แนะการแก้ไขด้วยครับ
-
น่าจะเป็นแบบนี้ ลองดูก่อนนะครับ ผมยังไ่ม่ได้ run ดู
var i : Integer;
begin
i := GetFormInputValue(90);
if i = 1 then
begin
CheckGroup91.Enabled := True;
end else
CheckGroup91.Enabled := False;
end;
end;
แล้วก็ดูตัว object 90 นั้น เป็น radio button หรือเปล่าด้วยนะครับ
-
ได้แล้วครับ ขอบคุณครับ อ.pop_hosxp
ใช่ครับ เป็น Radio ครับ