Quantcast
Channel: FiveTech Software tech support forums
Viewing all articles
Browse latest Browse all 26212

Problem using images in TTitle from RESOURCE ?

$
0
0
Antonio, the complete test ( works without problem from CODE ) [code=fw:2nebo3lk][/code:2nebo3lk] Using the original sample < [b:2nebo3lk]testtitlr.prg [/b:2nebo3lk]> adding the image [color=#0000FF:2nebo3lk]#include "FiveWin.ch" #include "ttitle.ch" function Main() local oDlg, oTitle, oFont DEFINE FONT oFOnt NAME "Verdana" SIZE 0, -14 DEFINE DIALOG oDlg RESOURCE 1001 REDEFINE TITLE oTitle ID 222 of oDlg // oTitle:lBorder:=.T. // oTitle:aGrdBack = { { 1, nRGB( 129, 130, 138 ), nRGB( 59, 60, 62 ) } } @ 25, 25 TITLETEXT OF oTitle TEXT "Prueba" FONT oFont [/color:2nebo3lk][color=#FF0000:2nebo3lk]@ 5, 5 TITLEIMG OF oTitle BITMAP "..\bitmaps\AlphaBmp\explorer.BMP" ; SIZE 16, 16 ANIMA; ACTION MsgAlert ( "Button-action" )[/color:2nebo3lk] [color=#0000FF:2nebo3lk]ACTIVATE DIALOG oDlg CENTERED oFont:End() return nil[/color:2nebo3lk] regards Uwe

Viewing all articles
Browse latest Browse all 26212

Trending Articles