PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
Adapter taille d'un champ à son contenu ?
Adapter taille d'un champ à son contenu ?
Started by M, Mar., 16 2006 10:50 AM - 2 replies
Connect yourself…
M
#1
Posted on March, 16 2006 - 10:50 AM
Bonjour,
Est-il possible d'adapter dynamiquement la taille d'un champ à son contenu ?
Par exemple, j'ai un label et si le texte affiché dans ce label est trop long, je voudrais que la largeur de ce label s'agrandisse de façon à afficher tout le texte.
merci
cordialement M.
Report
0
0
MANDIN Claude
#2
Posted on March, 16 2006 - 4:05 PM
bonjour
tu as une fonction qui devrait t'aider
res est un reel=TexteLargeur("Label1", "Bonjour")
LABEL1..Largeur=Res
Report
0
0
M
#3
Posted on March, 16 2006 - 7:30 PM
merci !
ca marche nickel !
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
WEBDEV (earlier versions)
WINDEV Mobile (earlier versions)
Reports & Queries
Off-topic
Tools
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text