|
Post by smc44 on Apr 12, 2009 22:04:24 GMT -5
This is a WINAPI Plugin i started workin on, its semi-functional, i will be updating it soon making it more functional, and have more functions, here is is: www.mediafire.com/file/mrmmyl3mymg/AllinOne.zipTell me what you think, and if you have any problems, tanx,
|
|
|
Post by matthew on Apr 12, 2009 23:34:27 GMT -5
Wow, that's excellent. I didn't actually know that you could embed WinAPI components in the Basic4GL Window like you did but it looks really good. I suppose you could create something like a text editor & place that in the Window too?
|
|
|
Post by smc44 on Apr 13, 2009 0:19:07 GMT -5
yep, thanks, i told you guys ive been gettin better
|
|
|
Post by UNDISCLOSED on Apr 13, 2009 2:57:21 GMT -5
Verry nice! Altough in your example:
Dim TextBox(1), Slider(1) Dim DateTimeTable(1), MonthTable(1) Dim ProgressBar(1), Container(1) Dim FontController(1) Dim Range(1), Min = 0, Max = 10 Dim StatusBar(1), UpDownControl(1)
TextBox(0) = CreateTextBox(0, 0, WindowWidth()/2, 100) SetFontSize(24) TextBox(1) = CreateTextBox(WindowWidth()/2, 0, WindowWidth()/2, 100) SetFontSize(44)
' Slider(0) = CreateSlider ("Slider", 0, 100, 160, 51) ' Range(0) = SetRange ( Min, Max) ' DateTimeTable(0) = CreateDateTimeTable ("DateTime", 160, 100, 160, 51) ' MonthTable(0) = CreateMonthTable ("Month", 0, 150, 320, 160) ' ProgressBar(0) = CreateProgressBar ("ProgressBar", 320, 100, 320, 51) Container(0) = CreateContainer ("Container", 0, 0, 0, 0) ' FontController(0) = CreateFontController("FontController", 320, 150, 320, 51) StatusBar(0) = CreateStatusBar ("StatusBar -----------------------") ' UpDownControl(0) = CreateUpDownControl ("UpDownControl", 320, 201, 0, 109)
on the lines I have commented I get an Ecception occured error? Any ideas why this is?
|
|
|
Post by UNDISCLOSED on Apr 13, 2009 3:06:58 GMT -5
More Problems, When I Make my own Program without re-Loading basic4gl the last programs GUI is still there?
|
|
|
Post by matthew on Apr 13, 2009 4:42:44 GMT -5
I believe there is a conflict between the API-Plugin made by djlinux & the AllinOne-Plugin by smc. I encountered the same errors that you did but they went away after I removed the other API plugin.
|
|
|
Post by UNDISCLOSED on Apr 13, 2009 4:50:26 GMT -5
Ill Try that now... Sorted (Thanxs matthew), But how do you get data from input boxes, or if a button has been pressed or update the loading bar etc. (or have you not implemented that yet?)
|
|
|
Post by matthew on Apr 13, 2009 4:53:18 GMT -5
I doubt if smc has had the time to implement any of those features, I think we'll just have to wait until they're added or write our own API plugins.
|
|
|
Post by UNDISCLOSED on Apr 13, 2009 10:13:59 GMT -5
Well I can wait for justnow.
|
|
|
Post by Darkjester on Apr 13, 2009 11:04:04 GMT -5
Its pretty good but i still prefer my own subroutines to Winapi
|
|
|
Post by smc44 on Apr 13, 2009 11:10:34 GMT -5
wolfman ill be adding a gettext function soon, i will also be adding the ability to create menus(file, save, etc....), im working on the gettext function as we speak
|
|
|
Post by Darkjester on Apr 13, 2009 11:15:01 GMT -5
hey stephen add me on IM again or give me your IM name.. plz lol sorry bout last night
|
|
|
Post by smc44 on Apr 13, 2009 11:20:48 GMT -5
funhead4
|
|
|
Post by Darkjester on Apr 13, 2009 11:24:14 GMT -5
at yahoo?
|
|
|
Post by smc44 on Apr 13, 2009 11:25:55 GMT -5
yea
|
|