- This topic has 2 replies, 2 voices, and was last updated 9 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Integrated Application Platform
Integrated Application Platform › Forums › General › [SOLVED]Image button for access navigation button
I created some nice icons, and I would like to replace the standard access navigation buttons with these icons.
The standard button:
...
#(ColorButton, "First", tip: 'Alt+F')
...
My image button:
...
#(ImageButton, "First", 'nav_first1.gif', 'nav_first2.gif',tip: 'First record (Alt+F')
...
I commented out the original button and tried to run the access controller, I got an error:
"run all failed: uninitialized member: #First"
It seems to be indicating that the process of initializing the image button control failed. But if I let them co-exist and run the access again, no error is thrown. The image button works as expected. Apparently, I only want the image button to exist.
Any idea why this is happening?
It looks like the problem is because ImageButton does not automatically set the control name like IconButton (via Button)
That should probably be fixed to be consistent
Meanwhile, adding
name: ‘First’
should solve the problem
hi andrew, that worked. Thanks very much for your help.