Logo on JavaScript Form

Michael Matthews omnis at lineal.co.uk
Thu Aug 16 10:21:50 EDT 2018


Hello Reg,

I put images only JS forms by doing this:

Add a field of type : Background Control

Then in the $property called $imagepath I enter 'images/sqlworks_images/SQLWorks3DCogsWide2010.png’

On my Mac OSX, in the FirstRunInstall folder that puts the stuff into Application Support folder, there is a folder called HTML.  This is the root folder for where the images come from.

Inside that folder is one called Images, and another for my own purposes.  And inside there is my Logo.

Hope that helps.

Mike


 

Mike Matthews, Managing Director, Lineal Software Solutions Ltd

Apple Reseller, Microsoft Partner, SQLWorks Business Partner
phone: 01271 375999 | web: lineal.co.uk <http://www.lineal.co.uk/> | email: omnis at lineal.co.uk <mailto:mike.matthews at lineal.co.uk>

> On 15 Aug 2018, at 23:15, Mike Matthews via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> Hello Reg,
> 
> I have used the URL for an image on a form that is in my image folder, which is inside the HTML image folder, inside the Omnis dev setup.  I’ll dig out the property values in the morning.
> 
> Mike
> 
> 
> 
> 
> 
> 
> Mike Matthews, Managing Director, Lineal Software Solutions Ltd
> 
> Apple Reseller, Microsoft Partner, SQLWorks Business Partner
> phone: 01271 375999 | web: lineal.co.uk | email: mike.matthews at lineal.co.uk
> 
>> On 15 Aug 2018, at 22:23, Reg Paling <reg.paling at gmail.com> wrote:
>> 
>> Hi all,
>> 
>> I just want to put a logo at the top of my javascript form.  I used to have a picture field which had its $iconid pointing to an image page in #ICONS, but that isn't working in Studio 8.1.6 when testing the form on my Mac.  In the manual, it says "For backwards compatibility, the picture control can display an icon in an icon data file (Omnispic) or #ICONS by setting $iconid to a numeric icon ID."  In my opinion #ICONS is the perfect place to store the picture, so convenient right there in the library, but I don't want to use a feature that is marked for backward compatibility (and it's not working for me anyway!) so what it the handiest way to achive this?
>> 
>> The manual says "Alternatively, $iconid can be set to a URL referencing an image file in the ‘html/icons’ folder", but in the Propery Manager I can't seem to type anything other than a number into the iconid.
>> 
>> Thanks,
>> Reg
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 




More information about the omnisdev-en mailing list