Button Missing Text

Askjerry

Member
Licensed User
Longtime User
Just starting out with this IDE, I go to the graphic designer and create a button with text, "CLICK ME" for example. I set the button color to light grey, the background to dark blue.

In the DESIGN tool it looks great... it also looks great on my ANDROID phone, Sprint HTC. All looks good... I save the layout as "jerry1" for example.

In the code I load the design.

I compile... and I run the app.

Here is the catch... all the colors are great, the functionality is great... but the BUTTON has NO TEXT at all.

I create another button with "EXIT" on it... set it to close the application... save, recompile, etc... when I run it... neither button has any text.

What did I do wrong???

Thanks,
Jerry
 

Askjerry

Member
Licensed User
Longtime User
Got it... duhhhh....

:sign0104:

Yeah...okay... after staring at it for awhile I realize that when it was in DESIGNER mode it was showing the "NAME" of the button... not the "TEXT" of the button... but in RUN MODE it displays the "TEXT".

And of course... I had NOT installed any text...
(I've only been programming in Visual Basic since VB4 for DOS...)
:signOops:

Anyway... yeah... I got it.

Solution: Enter text into the field labeled "TEXT"

I left the post because eventually someone else will make the same mistake. Oh well.

Thanks!
Jerry
 
Upvote 0
Top