Designer Tool Issue

roarnold

Active Member
Licensed User
Longtime User
I read that if one uses a designer tool there is no more required as opposed to accomplishing the code by hand. Whether you use Designer or not you still have to account for say "initialization" of a variable like a label, button or panel.

Interesting issue is that when I coded the module by hand which had a panel, a dozen labels and edittexts and several buttons it works where when I accomplished this in designer I get a parent / child issue.

Any reason? Also, where do I find the 2.52 upgrade which I should receive under my current enterprise license?

In any case, I can't say enough about B4A! It has made the last many apps available for market and currently working on one for the medical field that has global impact. Hats off to you.

Thanks,
R
 

sorex

Expert
Licensed User
Longtime User
You can select the parent of each object in it's property list.

It seems that you added something to a wrong parent, I had this issue aswell once and I just had to correct that parent value.
 
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
Hi,

I received this before when working with designer. Once I figured out how to code what I want I do not have this issue. 'Course, working with iOS (SORRY ALL) to complement the Android apps I receive a somewhat same error there too.

I will go back and look at the designer items. If unable to uncover it I will post the code.

Appreciate the reply,
R
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Interesting issue is that when I coded the module by hand which had a panel, a dozen labels and edittexts and several buttons it works where when I accomplished this in designer I get a parent / child issue.
It is hard to say where is your mistake without seeing the code and layout file.

There is no problem with adding views to panels with the designer.
 
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
Erel,

I just build the designer with labels and then an EditText for each with two button on the bottom all sitting in a panel. The error I first received was "Label Not Initialized". I went looking on the forum and saw a comment, could have been old, but none the less stating that if you use designer it does everything for you as opposed to hand coding it. After I placed my own initialization in the code for the labels I received the Parent / Child issue. So. I just coded the whole module by hand and dropped the designer. No issues.

Thanks,
R
 
Upvote 0
Top