Jump to content

Recommended Posts

Posted

Hello.

 

I have two questions:

 

1. How can I get a form header icon into web mode?

2. How to change the style of drawing a specific element (SpeedButton, panels, ...). It possible to specify a particular style of an element in CSS?

Posted

Sorry for my english.

 

1. No, not favicon. Icon in the window title.

 

2. How can I change the CSS style of a specific element (SpeedButton, panels, ...)? Is it possible to specify a particular style for the element in CSS? 

Posted

Well, thank you.

 

Can I get a picture from the title of a web form?

 

2. You can use Ext property iconCls

How can I get an access to the Ext property in the TUniSpeedButton?

Posted
Picture is saved in Cache folder.

Ok. I have some open windows, how can I know, which picture corresponds to the appropriate window?

 

UniSpeedButton1.ExtControl

For example I can give the UniSpeedButton1.ExtControl. When I set in this field the class name from CSS (and everything what I want set at all) - I receive the error.

post-630-0-18965600-1333528089_thumb.jpg

  • Administrators
Posted

Ok. I have some open windows, how can I know, which picture corresponds to the appropriate window?

 

Folder name which is same as UniApplication.SessionId contains all cache files for that session.

 

For example I can give the UniSpeedButton1.ExtControl. When I set in this field the class name from CSS (and everything what I want set at all) - I receive the error.

1.jpg

 

Where do you set this? You must set this in Form.OnCreate event.

Posted

Where do you set this? You must set this in Form.OnCreate event.

 

In the VCL application /Standalone Server mode:

When I have Form.OnCreate, OnActivate, OnShow event the UniSpeedButton1.ExtControl = nil

 

In the Windows Service Application mode:

When I have Form.OnCreate event, the ExtControl object is set.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...