Search found 97 matches: afont

Return to advanced search

... 16!!! :( Is necessary reconvert the value for obtain -12. Is possible to insert this features directly in Choosefont? With 2 parameter ChooseFont( aFont, hDC ) ? ;) Have You found also the Solution for Cancel and X Button? Pier Luigi write this solution: if ( !bOk ) _reta(0); else { _reta( 14 ); ...
by Ugo
Fri Dec 23, 2005 1:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ChooseFont
Replies: 12
Views: 6033

ChooseFont

... #define FW_NORMAL 400 #define FW_BOLD 700 //------------------------------------------------------------------------------ FUNCTION Main( ) LOCAL aFont[14], oIni, aOldFont, cFont INI oIni FILE "prova.ini" GET cFont SECTION "Stampanti" ENTRY "FontInStampa" OF oIni DEFAULT "Arial| 0| -12| 0| 0| ...
by Ugo
Wed Dec 14, 2005 1:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ChooseFont
Replies: 12
Views: 6033

... te è solo il font restituito) Purtroppo invece mi serve il nome del font, la dimensione e se è bold, italico e quanto ho definito nella variabile aFont, con la quale costruisco il font sulla stampante... Grazie, cmq. Posto sull'internazionale! Ciao, Ugo
by Ugo
Wed Dec 14, 2005 1:11 pm
 
Forum: All products support
Topic: ChooseFont
Replies: 9
Views: 3002

... #define FW_NORMAL 400 #define FW_BOLD 700 //------------------------------------------------------------------------------ FUNCTION Main( ) LOCAL aFont[14], oIni, aOldFont, cFont INI oIni FILE "prova.ini" GET cFont SECTION "Stampanti" ENTRY "FontInStampa" OF oIni DEFAULT "Arial| 0| -12| 0| 0| ...
by Guest
Wed Dec 14, 2005 9:38 am
 
Forum: All products support
Topic: ChooseFont
Replies: 9
Views: 3002

ChooseFont

... FW_NORMAL 400 #define FW_BOLD 700 //------------------------------------------------------------------------------ FUNCTION SelectFont( ) LOCAL aFont[14], oIni, aOldFont, cFont INI oIni FILE DirPrg() + "\" + ExeName() + ".INI" GET cFont SECTION "Stampanti" ENTRY "FontInStampa" OF oIni DEFAULT ...
by Ugo
Tue Dec 13, 2005 4:48 pm
 
Forum: All products support
Topic: ChooseFont
Replies: 9
Views: 3002

Re: Choosefont no funciona bien ?

Gabri wrote:aFont:=Choosefont() > AFont[8] siempre me devuelve .f.


El valor negrita no se almacena en la posición 8. Se toma a partir del valor 5:

Code: Select all  Expand view
   
::lBold = If( lFromUser, ! ( ::nWeight == FW_NORMAL ), lBold )
by Antonio Linares
Fri Oct 28, 2005 6:45 am
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Choosefont no funciona bien ? (fixed)
Replies: 2
Views: 1911

Choosefont no funciona bien ? (fixed)

Hola


Estoy utilizando la funcion Choosefont(), cuando selecciono un tipo de letra y la pongo en negrita, en el array que me devuelve no me lo devuelve con un tipo de letra en negrita, es que funciona mal esta funcion ?


aFont:=Choosefont() > AFont[8] siempre me devuelve .f.
by Gabri
Tue Oct 11, 2005 11:22 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: Choosefont no funciona bien ? (fixed)
Replies: 2
Views: 1911
Previous

Return to advanced search