dave
New Member
Posts: 8
|
Post by dave on Oct 12, 2012 6:04:22 GMT -5
I have LB v4.04. I have been trying out the GUI builder in LBW. The first textbox I create generates this sort of code: textbox #main.*, 15, 50, 110, 30 It won't run. I have to replace the asterisk with textbox1. The second textbox is ok. It seems to do the same for buttons and stylebits (not sure what part of the GUI generated the stylebits line). Am I doing something wrong, or is there a v4.04 compatibility issue? Dave.
|
|
|
Post by Alyce Watson on Oct 12, 2012 15:10:42 GMT -5
That's very odd. I'll check into it. Do you assign your own extensions to the textboxes and other controls? You can edit all of the properties by right clicking on a control in the GUI builder.
At this time, I cannot replicate your results. The first textbox is automatically given the extension ".textbox1".
|
|
dave
New Member
Posts: 8
|
Post by dave on Oct 13, 2012 8:09:49 GMT -5
Alyce, Thanks for the reply. I have now re-installed LBW and the problem has gone away. I have no idea what could have caused it. I'm running Windows 7 if that's any help. Anyway, it's ok at present. I like the GUI maker, and will be registering this product. I already registered LB Companion. Best regards, Dave.
|
|
dave
New Member
Posts: 8
|
Post by dave on Oct 13, 2012 8:48:53 GMT -5
Sorry, Alyce, the problem is back again! I'm copying and pasting some code to illustrate what happens: statictext #main.static1, "Enter a Number:", 25, 15, 115, 16 stylebits #main.*Press to continue ..., _BS_MULTILINE, 0, 0, 0 button #main.*Press to continue ..., "Submit", button1Click, UL, 175, 15, 95, 50 TextboxColor$ = "White" textbox #main.*Type your number here ..., 23, 41, 115, 24 TextboxColor$ = "White" textbox #main.*Result given here ..., 20, 75, 250, 24 You can see how it keeps coming up with #main.* Dave.
|
|
|
Post by Alyce Watson on Oct 13, 2012 17:40:54 GMT -5
Dave, I have tried many times, but I still cannot replicate the error. Are you editing the control properties to use an extension of your choice? Please try that, if you haven't already.
I'm out of ideas. I'm sorry. I've never had a report of this error, so I'm stumped.
|
|
dave
New Member
Posts: 8
|
Post by dave on Oct 14, 2012 10:21:06 GMT -5
Alyce, Thanks for the reply. I can put things right by editing the code, so it's nothing worse than a nuisance. I only brought it up because something's not quite right there, but it hasn't stopped me coding - just slowed me down very slightly. Best regards, Dave.
|
|