/opt/Unicon with /opt/Unicon/bin in the path. The lib directory is:
/opt/Unicon/ipl/lib
I haven't found gui.icn in the distribution which is Unicon Version 10.0 (beta-3). November 25, 2002. I created a simple program using ivib called zzz.icn:
class dialog : _Dialog(text_button_1)
method handle_text_button_1(ev)
end
method handle_default(ev) end
method dialog_event(ev)
case ev.get_component() of {
text_button_1 : handle_text_button_1(ev)
default : handle_default(ev)
}
endmethod init_dialog() end
method end_dialog() end
method setup()
self.set_attribs("size=644,399", "bg=pale gray")
text_button_1 := TextButton()
text_button_1$set_pos("18", "47")
text_button_1$set_label("Mybutton")
text_button_1$set_internal_alignment("c")
self$add(text_button_1)
end method component_setup()
self.setup()
end initially
self$_Dialog.initially()
endprocedure main() local d d := dialog() d.show_modal() end Here's what happens when I try to compile it: Translating: zzz.icn: File zzz.icn; Line 1 # "class": invalid declaration File zzz.icn; Line 24 # invalid character File zzz.icn; Line 25 # invalid character File zzz.icn; Line 26 # invalid character File zzz.icn; Line 27 # invalid character File zzz.icn; Line 35 # invalid character 6 errors Any help would be greatly appreciated. Cheers, Jonathan
-------------------------------------------------------
This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
Unicon-group mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/unicon-group
