For Programmers: Free Programming Magazines  


Home > Archive > Clarion > April 2005 > Forms/Update procedure w/ a tps file passed as a parameter









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Forms/Update procedure w/ a tps file passed as a parameter
jimmy@dealerclick.com

2005-04-18, 8:55 am

I have a clarion application in which I would like to have call an
update window to the same file via a button from an update window. I
other words I would like an update window to act like a dialog box,
sorta the way vc++ does it.

I can't figure out an easy way to do it since Clarion doesn't have file
handles or file pionters.

The only way I could think of doing it is to pass a file as a parameter
to the Update Window Procedure.

Does anyone know how to pass a file as a parameter to an Update Window
Procedure?

How about via a file handle or file pointer? Are there File Handles
and/or File Pointers in Clarion for windows?

TIA

JMumf

2005-04-19, 8:55 pm

A view Reference and a position reference may help.

MyViewRef &VIEW
MyViewPosition &STRING !Entry's file position
string

MyViewRef &= BRW1::View:Browse
MyViewPosition &= Queue:Browse:1.ViewPosition

JMumf

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com