Page 1 of 1

status bar

PostPosted: Thu Jul 13, 2006 9:21 am
by Silvio
volevo sapere come fare per inserire una bitmpa sulla status bar e la relativa action .

si attiva come un msgitem sulla msgbar ? e come ?

PostPosted: Tue Jul 18, 2006 3:26 pm
by pymsoft
Forse รจ questo che ti serve:



DEFINE MSGITEM oMsgItem;
OF MainWnd:oMsgBar;
PROMPT "Prompt";
BITMAP "BITMAP";
TOOLTIP "Tooltip";
ACTION msginfo("Msg Item");
SIZE 24

Buon lavoro

PostPosted: Tue Jul 18, 2006 6:27 pm
by Silvio
no volevo solo sapere se potevo azionare una bitmap su una status bar

PostPosted: Wed Jul 19, 2006 9:54 am
by pymsoft
Hai provato l'esempio?

No fa altro che mettere una bitmap nella status bar e quando fai click in questa bitmap chiama la funzione che c'e scrita nel ACTION.

PostPosted: Wed Jul 19, 2006 11:08 am
by Silvio
quindi tu mi dici di creare la status bar comunque e poi usare msgitm pe rinserire il bitmap...come fosse una msgbar ...ho capito bene ?

silvio

PostPosted: Thu Jul 20, 2006 8:30 am
by pymsoft
si.

PostPosted: Thu Jul 20, 2006 9:52 am
by Silvio
e invece no mi da errore...