dbTalk Databases Forums  

Paradox 11 Title Bar 8.3 Naming Convention

comp.databases.paradox comp.databases.paradox


Discuss Paradox 11 Title Bar 8.3 Naming Convention in the comp.databases.paradox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ike
 
Posts: n/a

Default Paradox 11 Title Bar 8.3 Naming Convention - 09-25-2007 , 04:15 PM






I upgraded from Paradox 8 to Paradox 11. Paradox 8 would show the
complete path and filename of the Paradox fsl form. Paradox 11 shows
the path and fsl filename in the old style DOS 8.3 naming convention.
Is there any setting that controls this behavior? I have an
application that depends upon being able to read the entire form's
name.

Reply With Quote
  #2  
Old   
Jim Moseley
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-25-2007 , 05:46 PM







Ike,

It's a bit of work, but why not explicitly name your forms, instead of relying
on the default name? You can call them 'Customer' or 'My Form 123' or whatever,
independent of the form name.

HTH,
Jim Moseley

Reply With Quote
  #3  
Old   
Dennis Santoro
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-26-2007 , 10:39 AM



Well, my form 123 would be a bad idea. You want to avoid spaces and odd
characters in naming. Stick to a to z, A to Z and 0 to 9 and
UseMixedCapsForReadability. 8.3 is also not a bad idea to stick to. And
you should learn to use aliases rather than paths.

Check out my Database Basics paper on our paradox resources page (link
in my signature) for more info on these issues.

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and
non-profits since 1982

Jim Moseley wrote:
Quote:
Ike,

It's a bit of work, but why not explicitly name your forms, instead of relying
on the default name? You can call them 'Customer' or 'My Form 123' or whatever,
independent of the form name.

HTH,
Jim Moseley

Reply With Quote
  #4  
Old   
Ike
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-26-2007 , 11:38 AM



On Wed, 26 Sep 2007 11:39:31 -0400, Dennis Santoro
<RDAPres (AT) NoRDASpamWorldWide (DOT) com> wrote:

Quote:
Well, my form 123 would be a bad idea. You want to avoid spaces and odd
characters in naming. Stick to a to z, A to Z and 0 to 9 and
UseMixedCapsForReadability. 8.3 is also not a bad idea to stick to. And
you should learn to use aliases rather than paths.

Check out my Database Basics paper on our paradox resources page (link
in my signature) for more info on these issues.

Denn Santoro
President
Resource Development Associates
http://www.RDAWorldWide.Com
Offices in the United States and Germany
Providing solutions to health care, business, governments and
non-profits since 1982

Jim Moseley wrote:
Ike,

It's a bit of work, but why not explicitly name your forms, instead of relying
on the default name? You can call them 'Customer' or 'My Form 123' or whatever,
independent of the form name.

HTH,
Jim Moseley
Jim & Dennis,
Thanks for the suggestions. Unfortunately, the solutions you offered
will not work in this particular case. While changing a setting in
Paradox or the system registry would have been a simple quick fix, I
am sure I can come up with some creative idea that will work for me.
Ike


Reply With Quote
  #5  
Old   
Anders Jonsson
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-26-2007 , 01:33 PM




Quote:
I have an
application that depends upon being able to read the entire form's
name.
What I usually do is to give the form a name, like:

"PhoneNo"

I then give the form a title at design time, like:

"Phone numbers"

I then use code like this

if fHandle.attach("Phone numbers")
then
;ok allready open
else
if not fHandle.open(":FORMS:PhoneNo") then errorshow() return endif

endif


If you really need to put the complete file name in the title you could try
this code in the open of the form

method open(var eventInfo Event)

if eventInfo.isPreFilter() then
;// This code executes for each object on the form

else
;// This code executes only for the form
self.Title=getFileName()
endIf

endMethod


Anders




Anders




Reply With Quote
  #6  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-26-2007 , 02:16 PM



Ike

This does not happen for me. And I'm not aware of having changed anything.
Which OS are you on?

--
Bertil Isberg - CTECH
Paradox buglist:
online: http://hem.bredband.net/bertilisberg/

"Ike" <spamminator (AT) spamminator (DOT) com> skrev i meddelandet
news:m6uif39s1vn1cu5mrsc5u2u9eeaaoa2lot (AT) 4ax (DOT) com...
Quote:
I upgraded from Paradox 8 to Paradox 11. Paradox 8 would show the
complete path and filename of the Paradox fsl form. Paradox 11 shows
the path and fsl filename in the old style DOS 8.3 naming convention.
Is there any setting that controls this behavior? I have an
application that depends upon being able to read the entire form's
name.



Reply With Quote
  #7  
Old   
Jim Moseley
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-26-2007 , 03:08 PM




Dennis,

Sorry, I meant the form's title, not its file name. Obviously, he shouldn't
need to change the file names.

Thanks,
Jim Moseley

Reply With Quote
  #8  
Old   
Jan Stegehuis
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-27-2007 , 12:33 AM



Ike,

Why would you want to go through all of this? Is it because you need the
form's filename and path? There is a simpler solution for that; use the
form's fileName() method (see Opal help: form type). A simple

method pushButton(var eventInfo Event)
msgInfo("Debug", getFileName())
endMethod

will get you the entire filename. If you need to, you can then use
setTitle, to set the form's title to the filename.

Regards
Jan Stegehuis

Ike schreef:
Quote:
I upgraded from Paradox 8 to Paradox 11. Paradox 8 would show the
complete path and filename of the Paradox fsl form. Paradox 11 shows
the path and fsl filename in the old style DOS 8.3 naming convention.
Is there any setting that controls this behavior? I have an
application that depends upon being able to read the entire form's
name.

Reply With Quote
  #9  
Old   
Ike
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-27-2007 , 11:15 AM



On Wed, 26 Sep 2007 21:16:21 +0200, "Bertil Isberg" <ctech (AT) corel (DOT) ca>
wrote:

Quote:
Ike

This does not happen for me. And I'm not aware of having changed anything.
Which OS are you on?
WinXP. One slight correct: Paradox 8 shows the path in the 8.3 naming
convention and then the complete FSL filename. Paradox 11 shows both
the path and FSL filename in 8.3 style. And to the others, giving the
form a name does not work. The other application is not written in
Opal. It reads the the filename in the title bar via Windows.


Reply With Quote
  #10  
Old   
Bertil Isberg
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-27-2007 , 02:35 PM



Ike

I have a form named hejsansvejsan.fsl. when opened the title bar says: FORM
: C:\...\hejsansvejsan.fsl

Another form named RepareraTabell.fsl, when opened using an alias, the
title bar says
FORM : :INFO:repareraTabell.fsl

A report named BugReportDoc.rsl is shown in the title bar as REPORT :
:BUGGAR:BugReportDoc.rsl.

More info:
A form named arkiv.fsl gets a titlebar FORM : C:\DATA\PDOXAPPS\ARKIV.FSL
but a form named ARKIV123456789.FSL is shown as C:\...\ARKIV1234567889.FSL

In all cases the fullname of the form file is shown.

Opening some form using Paradox 7 and Paradox 11, I see no difference at all
in the title bar.

Could you, please, with an example show what your title bar says?

--
Bertil Isberg - CTECH
Paradox buglist:
online: http://hem.bredband.net/bertilisberg/

"Ike" <spamminator (AT) spamminator (DOT) com> skrev i meddelandet
news:vglnf3ptkfugh89unbtugii50pkjqr3abk (AT) 4ax (DOT) com...
Quote:
On Wed, 26 Sep 2007 21:16:21 +0200, "Bertil Isberg" <ctech (AT) corel (DOT) ca
wrote:

Ike

This does not happen for me. And I'm not aware of having changed anything.
Which OS are you on?

WinXP. One slight correct: Paradox 8 shows the path in the 8.3 naming
convention and then the complete FSL filename. Paradox 11 shows both
the path and FSL filename in 8.3 style. And to the others, giving the
form a name does not work. The other application is not written in
Opal. It reads the the filename in the title bar via Windows.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.