CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Button Icon disappear on caption modified

by feland » 17 Nov 2015 17:58

Thanks for your support.

Is there a way to view the icon with the property PrimaryPictureInTextSpan set to false?
feland
 
Posts: 89
Joined: 15 Jun 2015 15:12

by Alexander Bulei » 17 Nov 2015 18:09

Hi feland,
It will be fixed in next beta build.
Thanks.

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by assapan » 17 Nov 2015 18:10

have you tried to put your icon in the URL ?
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by feland » 18 Nov 2015 09:28

I load my icons on runtime used this code:

sImagePath:= ExtractFilePath(ParamStr(0))+ 'wwwroot\ico\businessman_add.ico';
btnConfirm.JQButtonOptions.Icons.PrimaryPicture.Picture.LoadFromFile(sImagePath);

In these way work correctly but if change the second line with these "btnConfirm.JQButtonOptions.Icons.PrimaryPicture.Url:=sImagePath" Don't work.
feland
 
Posts: 89
Joined: 15 Jun 2015 15:12

by assapan » 18 Nov 2015 09:42

Url is relative to wwwroot folder so just set
Code: Select all
btnConfirm.JQButtonOptions.Icons.PrimaryPicture.Url:='ico\businessman_add.ico';
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by feland » 18 Nov 2015 11:22

don't work it's the same.
feland
 
Posts: 89
Joined: 15 Jun 2015 15:12

by assapan » 18 Nov 2015 11:45

Sorry , replace "\" by "/"
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by feland » 18 Nov 2015 15:05

Not work again
feland
 
Posts: 89
Joined: 15 Jun 2015 15:12

by assapan » 18 Nov 2015 15:38

Check this demo , do not forget to copy the 32x32 folder and *.png in your wwwroot folder , and also to change destination directory of project
You do not have the required permissions to view the files attached to this post.
Want to visit Ardeche http://leclosdelarc.fr/index.php
The Pont d’Arc Cavern http://en.cavernedupontdarc.fr
Image
User avatar
assapan
 
Posts: 600
Joined: 16 Dec 2013 12:04
Location: France

by Alexander Bulei » 20 Nov 2015 15:04

Hi,

Fixed in next beta build.
Thanks ;)

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

Previous

Return to JQButton & JQButtonSet

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.