soccer jersey forums.silverfrost.com :: View topic - A new ClearWin+ button control with image and text.
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

A new ClearWin+ button control with image and text.

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> KBase
View previous topic :: View next topic  
Author Message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8018
Location: Salford, UK

PostPosted: Tue Apr 21, 2009 3:40 pm    Post subject: A new ClearWin+ button control with image and text. Reply with quote

Version 5.30 of FTN95 (with its associated salflibc.dll) includes a new button control that is similar to that produced by the format code %bt but uses %bb. The main difference between %bt and %bb is that the button text for %bb includes an image resource for an icon that appears before the text.

In the following sample, the name of the image resource is icon1 and the text that follows is "Keywords". The image corresponds to a 16x16 icon in the file d16.ico.

Code:
WINAPP
integer i,winio@
i=winio@('%fn[Microsoft Sans Serif]&')
i=winio@('%ts&',0.88D0)
i=winio@('%fb%sf&')
i=winio@('%bb[icon1/Keywords]')
end

RESOURCES
1 24 default.manifest
icon1 ICON d16.ico
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> KBase All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group