Newbie - MainStack Question

2003-07-26 Thread Brian K. Maher
I sent this via the wrong email account so I am resending ... Hi Folks, I am new to Revolution (but have done development for a long time in many languages). I am trying to understand the best way to design a database application using Revolution. I have noticed that handlers in the main stac

Re: Newbie - MainStack Question

2003-07-26 Thread Brian K. Maher
Hi Rob, On Saturday, July 26, 2003, at 10:36 AM, Rob Cozens wrote: I have noticed that handlers in the main stack (i.e. in the Stack script) are automatically seen by all sub stacks. For example, an openStack handler in the main stack will be invoked when a sub stack opens and has no openStac

Re: Newbie - MainStack Question

2003-07-26 Thread Brian K. Maher
Hi Rob, First, I don't consider placing the mainStack's preOpenStack & openStack handlers in the first group or card to be opened to be a work around: it is simply an illustration of placing handlers at the most appropriate point in the message hierarchy. IMFO, the best place for generic routi

Newbie - MainStack Question

2003-07-28 Thread Brian K. Maher
Hi Folks, I am new to Revolution (but have done development for a long time in many languages). I am trying to understand the best way to design a database application using Revolution. I have noticed that handlers in the main stack (i.e. in the Stack script) are automatically seen by all sub

How to properly format text in sheet on OS X?

2003-08-16 Thread Brian K. Maher
Hi Folks, I am trying to properly format the text in an 'answer ... as sheet' command. I need to message text to conform to OS X's UI guidelines which state that the 'message text' should use the emphasized bold system font and the 'informative text' should use the small system font. Below i

How to properly format text in sheet on OS X?

2003-08-18 Thread Brian K. Maher
Hi Folks, I am trying to properly format the text in an 'answer ... as sheet' command. I need to message text to conform to OS X's UI guidelines which state that the 'message text' should use the emphasized bold system font and the 'informative text' should use the small system font. Below i

Fwd: No Shell on OS X?

2003-09-06 Thread Brian K. Maher
Hi Folks, I am trying to use the shell() function on OS X (Rev 2.1, OS X 10.2.6) and am getting the following error: Handler: can't find handler Object: Button 1 Line: shell("ls -l") Hint: shell Does anyone have any ideas why this will not work? Thanks, Brian ___

Re: No Shell on OS X?

2003-09-06 Thread Brian K. Maher
Hi Alex, Thanks. That was it. I am a newbie at Revolution and misread the documentation for the shell function (it shows just using shell(...) and also states that the result (combination of stdout & stderr) are placed into the result variable). Based on this I expected to be able to simply

No Shell on OS X?

2003-09-07 Thread Brian K. Maher
Hi Folks, I am trying to use the shell() function on OS X (Rev 2.1, OS X 10.2.6) and am getting the following error: Handler: can't find handler Object: Button 1 Line: shell("ls -l") Hint: shell Does anyone have any ideas why this will not work? Thanks, Brian __

Best Way to do Multiple Instances of a Stack

2003-09-16 Thread Brian K. Maher
Hi Folks, I have the need for my end users to be able to see multiple instances of a given window (substack) where each window would have a different title/label and would display different data from a database. What is the best way to accomplish this? Specifically ... if you use the clone c

RE: Losing the amateur

2003-11-03 Thread Brian K. Maher
Thank you. I sent another email a little while ago. You can ignore that one. Sincerely, Brian K. Maher Principal Technical Support Engineer Phone : 781-280-3075 Progress Software Corporation E-Mail: [EMAIL PROTECTED

Re: [OT] Windows Command Help

2005-07-29 Thread Brian K. Maher
Hi Jon, In Rev just use the shell. The command would be "start you_file_name_goes_here". Brian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

previous card issue

2005-11-10 Thread Brian K. Maher
Hi Folks, I have a stack with several cards named Welcome, Connection and NotAuditEnabled. I start out at the Welcome card and the user clicks the Next button which does a go to card 'Connection'. On the Connection card I have a preOpenCard handler which does the following: if the short name

Re: previous card issue

2005-11-10 Thread Brian K. Maher
Hi Dave, Ya know, I read that but it just didn't sink in. That's what I get for writing code when I am tired. Brian ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscr

Formatting Widgets for OS X

2005-05-14 Thread Brian K. Maher
Hi Folks, I am using Rev 2.5.1 on OS X 10.4. I am having problems getting the text I enter into field widgets to appear (alignment wise) the same as it appears when entered into either an editfield widget in RealBasic or an NSTextField widget in Cocoa. It seems to have to do with the margins

Re: Formatting Widgets for OS X

2005-05-14 Thread Brian K. Maher
Hi Ken, Well, you can change the margins of the field by setting the "margins" property. By default, the margins are 8 pixels, but you can set the margins to another value if you like. I created a dummy field in RB 5.5 and matched it to Revolution by setting the textFont of the field to "Lucida

Rev 2.7 Evaluation (Win XP)

2006-02-14 Thread Brian K. Maher
Hi Folks, I just installed Rev 2.7 on XP and obtained a 30 day trial code. It appears that there is a bug and you are forced to re-enter the trial code information every time you start Rev up. Can anyone else confirm this? Thanks, Brian ___ use-rev

Re: Rev 2.7 Evaluation (Win XP)

2006-02-14 Thread Brian K. Maher
Hi Mark, >You shouldn't need to re-enter the trial code - although it might >appear that you do. > >When run after licensing, you should be presented with the dialog >which says 'x days remaining' and the 'Unlock' button has become >'Continue'. You should then immediately be able to click 'C

Rev 2.7 Bug (Crash)

2006-02-14 Thread Brian K. Maher
Hi Folks, I was testing a SQL locking issue and found that the revDataFromQuery function will cause Rev to crash if the query fails due to a locked record. My ODBC connection specifies "repeatable read" as the default isolation level in the ODBC DSN configuration. The code is as follows: on

Height/Width of Text?

2006-02-19 Thread Brian K. Maher
Hi Folks, Can anyone give me some insights on how I can determine the exact height and width in pixels of a text string when it is rendered on the screen in a given font and point size? Thanks, Brian ___ use-revolution mailing list use-revolution@