Hi ALL,I need to check a few things in our project setup. If there is a problem, I want to bringup a warning form (e.g. hiDisplayAppDBox), that lists the corrective actions.Normaly users just click and don't read. So to make it a little fun,I would like to add bitmaps to the form.Does anyone know, how to do that? Can that be done at all?Thanks,Britta
You can create a regular app form (hiCreateAppForm) and add some custom buttonIcons.
hiCreateButton(?name 'upButton?buttonIcon _UP?callback println("up"))procedure(InitArrowIcons()let((upString ColorArray)ColorArray = hiCreateColorArray()ColorArray = hivBackgroundColorColorArray = hivTopShadowColorColorArray = hivBottomShadowColorColorArray = hivForegroundColor ColorArray = hivRecessColorColorArray = hivForegroundColorColorArray = hiMatchColor(list( 746 746 730))upString = "\aaaaaaaaaaadaaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaadddddaaaaaaaaa\aaaaaaaadddddddaaaaaaaa\aaaaaaadddddddddaaaaaaa\aaaaaadddddddddddaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa\aaaaaaaaaadddaaaaaaaaaa"_UP = hiStringToIcon(ColorArray upString 23 13)) ; let)
Thanks to the great formatting on these forum pages, the skill code was corrupted in my last post. In the InitArrowIcons procedure, the ColorArray should look like an array indexed from 0 to 6 rather than greek characters. You should see ColorArray, followed by an open square bracked, a zero and then a closed square bracket. Look up hiStringToIcon to see how this works.
Is it possible to add any gif or images to the buttons other than the above procedure.In the above way it is limited to very few bitmaps.
Why is it limited to very few bitmaps?Andrew.