Jump to content

Q: PageControl background color


mierlp

Recommended Posts

Yes you can:

 

1. create a custom css class (at srevermodule-->customcss):

 

* here I use a small pattern image and repeat it all over.

.grid
{
background:url('files/images/grid.jpg') repeat fixed;
}

2. Add a label on the desired page (0,1,2...)

   - set align=alClient

   - Extevents-->added:

function added(sender, container, pos, eOpts)
{
 sender.addCls('grid');
}

3. Run it....

 

css.png

 

Hope this help you  :)

  • Upvote 2
Link to comment
Share on other sites

Hi Mohammad,

 

Thanks for the respons. I followed the steps but it's not working.

I just put the white image in the application directory and added

this code to

 

background:url('grid.jpg') repeat fixed

 

or when i put the complete path it's also not working or even when

i put it into the files directory

 

Is it the location where i pointing to or because i run it as a stand-alone server

 

Regards Peter

Link to comment
Share on other sites

1. The image I have used is attached below you can download it.

2. Save the image in 'files'->'images' (you have to create the images folder).

3. The 'files' folder is created automatic by unigui (projectfolder\Win32\Debug\files).

4. Try it on label first, and then try it on panel.

No Attached Thumbnails files. Plese again load project.
Link to comment
Share on other sites

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...