Search found 9 matches

by remecd
Fri Apr 28, 2006 10:26 am
Forum: FiveWin for Pocket PC
Topic: COMBOBOX refresh
Replies: 1
Views: 884

COMBOBOX refresh

How can I Refresh() Combobox with function Inv_Nasta2()

Tnx, Darjo

#include "FWCE.ch"

FUNCTION Main()
PRIVATE ocbNah

arrNahaja:={'1a','1b','1c'}
STORE 1 TO cIzbPe,cIzbNah

DEFINE WINDOW owInv
@ 93,0 SAY 'Main:' PIXEL
@ 108,0 COMBOBOX cIzbPe ITEMS {'001 ...
by remecd
Thu Dec 22, 2005 12:28 pm
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

Darjo,

You may do it this way:

ACTIVATE DIALOG oDlg;
ON INIT ( oDlg:SeText( "newTitle" ),;
oDlg:nWidth( 100 ),;
oDlg:nHeight( 100 ),;
WndCenter( oDlg:hWnd ) )


A little mistake: SeText( -> SetText(
This working now.

But what about ...
by remecd
Thu Dec 22, 2005 6:57 am
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

Hello,

title clause should be declared in resource file, then works ok
eg:


DialogId DIALOG DISCARDABLE 0, 0, 118, 50
STYLE WS_POPUP|DS_MODALFRAME|WS_CAPTION|WS_VISIBLE
CAPTION "Dialog Title"
BEGIN
// dialog control
END


Regards
Pawel

Thank you, PawelU. I know that.
But I need to change ...
by remecd
Wed Dec 21, 2005 9:09 am
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

I added title to dialog...

DEFINE DIALOG oDlg RESOURCE "msgDaNe" TITLE 'BlaBla'

Without TITLE working OK
by remecd
Wed Dec 21, 2005 8:10 am
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

I INCLUDE only FWCE.ch now

When compile I get error:
tmp.prg(16) Error E0030 Syntax error: "parse error at 'DIALOG'"
by remecd
Mon Dec 19, 2005 5:20 pm
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

DIALOG

Sorry, it doesn't work yet.
I have exactly this program:


#include "FWCE.ch"
#include "FiveWin.ch"

********************
FUNCTION Main()
********************
DEFINE WINDOW owMain TITLE 'sdsdsd'
ACTIVATE WINDOW owMain ON CLICK m_DaNe('Something...',{'Yes','No'},'Atention !!!')
return nil ...
by remecd
Mon Dec 19, 2005 11:17 am
Forum: FiveWin for Pocket PC
Topic: DIALOG
Replies: 15
Views: 7074

DIALOG

I have this function:


#include "FWCE.ch"

************************************
FUNCTION m_DaNe(cMsg,aBtn,cTitle)
************************************
LOCAL oDlg

DEFINE DIALOG oDlg RESOURCE "msgDaNe"
REDEFINE SAY ID 3 OF oDlg PROMPT cMsg
REDEFINE BUTTON ID 1 OF oDlg PROMPT aBtn[1] ACTION oDlg:End ...
by remecd
Wed Dec 14, 2005 4:53 pm
Forum: FiveWin for Pocket PC
Topic: show BITMAP
Replies: 3
Views: 1314

show BITMAP

Antonio, thank you for quick answer. I installed new version. Now is better. But now is black border around picture - the shown picture is greater then original ???

regards, Darjo
by remecd
Wed Dec 14, 2005 10:17 am
Forum: FiveWin for Pocket PC
Topic: show BITMAP
Replies: 3
Views: 1314

show BITMAP

When I run this program the error message shown:

Message not found
TBITMAP:DISPBEGIN
stack calls:
__ERRRT_SBASE(0)
......


#include "FWCE.ch"
function Main()
local oWnd
DEFINE WINDOW oWnd TITLE "Bmp-Res"
* @ 10, 20 BITMAP RESOURCE "users" SIZE 60, 60 && working
@ 10, 20 BITMAP filename CURDIR ...