Interface Builder - Custom Button with Title text - iphone

When I set up a custom button in Interface Builder it hides the Title text.
Do you have to create the text for the button too or is it possible to change the Z order so that the Title appears on top?

You are probably setting the 'Image' property of your button instead of the 'Background' property.
'Image' appears over your text, so either programmatically or in NIB(way simpler), set the 'Background' image to your desired png, and set the text for the desired button 'State Config'(default, selected etc), Leaving the 'Image' property blank.

The title by default appears on the top and in no case the text goes behind the button...
Still follow the below steps
1. Drag uibutton to the view
2. Select UIButton
3. Click on the first tab of the Inspector
4. Then Enter the title over there.
The title entered will be on the button..
Hope this helps

For a custom button, I fixed the same problem by going in interface builder and in the tab where you can set up hte title, image, background, etc., if you look lower, there will be a section titled "Control". In that section you can change the alignment and there are also some checkboxes for "Content". Put a checkmark in "Enabled" and "Selected" and it should work. Ensure to have populated the title for the various states of the button.

It may be related to the State Config attribute. I had the same problem and solved it by doing this:
Select your button
In the utilities pane (right pane), select the Attribute inspector (4th tab).
Change the State Config (2nd attribute) to the value "Default".
Enter a Title and press Enter (I tried changing it directly on the button but it is resized automatically).
You may switch back to your previous State Config if it is what you need.

Related

Repeatbox row label not visible until clicked

I am using this youtube link as a guide
When my repeatbox loads, I see three empty row. When I click on the row, the text of the label becomes visible. When I click on a different row, then only the new label is visible.
Has anyone encountered this before? Is there a recommended font size or row height I should be using?
Can you try the following chances,
1. Changing background/font color of the label?
2. Un-check "Enable pull-down to Refresh" & "Enable pull-up to Refresh" options in "Palette". - This is to make confirm that having an issue in repeaterbox rendering rows.
Select "Inactive Item" from "RepeaterBox Edit Mode" from Pallete window. Then add your controls like label, etc.,
You might be added the controls in Active mode. That is why, controls are not visible till you selected.
For more info: http://www.smartface.io/developer/guides/controls/repeatbox/

How to only remove the default button Close in Fom StatusBar?

how to remove the only Button close (default button) in the Form , in Dynamics AX-2012?
This button is located on the lower right , named "Close"
But I don't want to remove all others informations in StatusBar.
Thanks,
enjoy!
The "Close" button is part of a status bar on a form.
Change StatusBarStyle property of the form Design to SimpleWithoutClose value.
Update:
It seems like there is no option to remove the "Close" button without leaving all other parts of "Full" status bar style.

Ms access form: field order

can I somehow set in what order the text fields become active after pressing the "Tab" button?
I think it depends on when you added the field and not where it is in the form. So can I change this or I should add the fields in the order I want to switch them with the "Tab" button?
Thanks!
There are at least a couple of ways to change tab order.
With the form in design view, right click on an area of the form without a control. On the context menu that appears, click on Tab Order. A dialog will open that will allow you to change the tab order.
Another method is via the property sheet for each control. On the Other tab there is a property for Tab Order. Just set it to whatever you like.

how to design hidden field in android and it will appear when we click it

i am try use hidden field like Div tags in android for hiding some field and when we will click that button the related fields will appear.
try setting visibility to GONE this will remove the display. You can then set it to visibile. This will remove the view completely but everything else will still line up properly. If you want to just make it invisible there is an invisible setting too.

IPhone: Custom Button - Why is title not showing?

So I basically dragged a button from interface builder's library, turned it into a Custom button. Then I added one png for the "default state configuration" and another png for the "highlighted state configuration". Let's just assume these png's are a red box and a blue box.
Now, I'd like the Title to display for the button i.e., "Press Me" or something. But the Title doesn't show. Am I missing something?? (I also tried to have that text in different colors but no dice...)
Thanks in advance.
Are you setting imageForState or backGroundImageForState? :)