Hi all, I’m trying to create a form using “hiCreateAppForm”, and trying to place an image in the form - I couldn't locate the relevant field function in the documentation. I believe this is possible as I’ve seen it done elsewhere. Is there a field function alongside the other field functions such as hiCreateButton etc, that allows for this to be done? Or is there another method that is typically used?
Thanks in advance,
To place images in your form you should use hiCreateLabel and hiCreate.., hypertext/HTML fields
Then you can insert an image using HTMl syntax (it’s quite simple)
about ?maxSize I am almost certain that it’s not possible to restrain the size in only one direction (maybe try with -1 or 0 but I don’t believe it will work)
For the form on top of other windows and the startup position, this will mostly depend on your windows manager (windows, xfce, gnome etc.)
Hope this helps
Also, for opening a form directly under the last mouse click, you can supply a second argument to hiDisplayForm as -1:-1. For example:
Thanks Folks, very helpful
I did not know that -1:-1 would place it under the cursor. That's a really good info. Thanks !
Also for your ?maxSize issue, to restrain only in one direction you could simply use a huge value for the other one (bigger than the screen width/height)
?maxSize 500:10000 should do the job
AurelBuche said:I did not know that -1:-1 would place it under the cursor. That's a really good info.
Nor did I! It's always good to learn something new (good to see that it's documented behaviour, but I've not had any reason to look at the documentation about hiDisplayForm for a very long time)
Thanks AurelBuche, also another way I'm now realizing:?minSize 901:80 ?maxSize 901:632