Search found 918 matches

by reinaldocrespo
Sun Sep 03, 2006 5:07 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Requiero consejo . Que browse usar
Replies: 11
Views: 2842

Por el numero de cosas que puedes hacer con el, xbrowse sin duda alguna. Flexible, facil de mantener. Bien estructurado.
by reinaldocrespo
Sun Sep 03, 2006 2:16 am
Forum: FiveWin for Harbour/xHarbour
Topic: Exit DTPICKER control with K_enter
Replies: 6
Views: 1504

I find that I can only exit a dtpicker control by pressing the TAB key. I have tried changing the methods on the class to no avail.

There has to be a way to exit this control using the <return> or <enter> keys.

any ideas?

Reinaldo.
by reinaldocrespo
Sat Sep 02, 2006 1:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: Exit DTPICKER control with K_enter
Replies: 6
Views: 1504

Exit DTPICKER control with K_enter

Hi everyone,

How can I make fw to exit a DTPicker control with the enter and/or return key?

Thank you,


Reinaldo
by reinaldocrespo
Thu Aug 31, 2006 12:13 am
Forum: FiveWin for Harbour/xHarbour
Topic: Tdialog:hide()
Replies: 5
Views: 1013

Enrico; I really appreciate your responses. It made no change. Below, I made some minor changes to your code for you to test and see what I'm referring to. #include "Fivewin.ch" FUNCTION MAIN() local i LOCAL oDlg, oDlg2 DEFINE DIALOG oDlg @ 1, 1 BUTTON "&Open dialog"; WHEN oD...
by reinaldocrespo
Wed Aug 30, 2006 8:45 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tdialog:hide()
Replies: 5
Views: 1013

William;

Gracias por la sugerencia. Parecería que de esa manera ni siquiera se pintaría la ventana de dialogo. Pero no es así. De hecho de esa manera la muestra por mas tiempo que de la otra.

Cualquier otra idea es bienvenida.

Comoquiera gracias.

Saludos,


Reinaldo
by reinaldocrespo
Wed Aug 30, 2006 7:51 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tdialog:hide()
Replies: 5
Views: 1013

Tdialog:hide()

Hi everyone; In order to print richtext which I have saved on .fpt files, I find that I must create the control on a dialog or window. When I only wish to print without displaying the richtext control I hide the dialog: *-------------------------------------------------------------------------------...
by reinaldocrespo
Wed Aug 30, 2006 1:45 am
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

James; Thank you for the reply. Regarding sockets, there seems to be more than what meets the eye or the obvious. Indeed you do have a socket connection. Although no real communication will ever occur, the socket client is up and "working". I've had to just disregard, for now, certainty of...
by reinaldocrespo
Wed Aug 30, 2006 12:12 am
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

Eduardo;

Thank you. I will try it.

Reinaldo.
by reinaldocrespo
Tue Aug 29, 2006 9:19 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

Here is a self contained sample: compile and execute. After 30 seconds check your app's dir. You'll find a trace.log file and an actual connection where you can click on send and no error is reported. Futhermore, Tsocket reports being connected to your local computer's ip instead of the assigned ip....
by reinaldocrespo
Tue Aug 29, 2006 8:41 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

James; Check again. Sometimes it takes a few seconds for the trace.log file to create and have info on it. I'm testing it here on my own computer where I have no access to private ip 98.19.1.4, and I do get a trace file. It reads : Connected to ip:192.168.1.2. The line osocket:bRead := ... is just a...
by reinaldocrespo
Tue Aug 29, 2006 8:16 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

James; Thank you for your reply. I inserted sysfresh(). Still same behavior. Listen, anyone can try this even without a socket server working listening. If you try to connect to non existent IP it connects to your own ip even if no service is listening on the specified port. Try using my very same e...
by reinaldocrespo
Tue Aug 29, 2006 5:25 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Tsocket
Replies: 10
Views: 2785

Tsocket

Hi, For some reason when trying to create a socket connection to a given port on at a given IP, the socket gets created at the local computer's ip instead. Here is my code: oSocket := TSocket():New( 15000 ) osocket:lDebug := .t. oSocket:cLogfile := cFilePath( GetModuleFileName( GetInstance() ) ) + &...
by reinaldocrespo
Fri Aug 25, 2006 11:15 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets
Replies: 8
Views: 1686

Ok, so what you are saying is that I just might be getting connected after all. How can I know if indeed I have a succesful connection?
by reinaldocrespo
Fri Aug 25, 2006 10:29 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets
Replies: 8
Views: 1686

But isn't bconnect supposed to execute if and only if a socket connection is succesful? At any rate, I'm testing this code on a network where I do have a server with that IP and answering on that port. I've tested from a command prompt using <telnet ip port> and I see connection. Yet with this very ...
by reinaldocrespo
Fri Aug 25, 2006 9:33 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Sockets
Replies: 8
Views: 1686

Enrico; I made some minor modifications to your code: #include "Fivewin.ch" static isconnected := .f. FUNCTION MAIN() LOCAL oWnd DEFINE WINDOW oWnd @ 1, 2 BUTTON "Send"; SIZE 100, 50; ACTION ( SENDDATA( 15000, "98.19.1.4", "This is a test" ), ; MsgInfo( isconn...