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 Search this Thread Display Modes
  #11  
Old   
Anders Jonsson
 
Posts: n/a

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







Quote:
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.
But if you give the form a TITLE, than one will show in the titlebar and I
assume Windows will read that.

You could set your forms title either in design mode or with OPAL.

Anders









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

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-28-2007 , 11:44 AM






On Thu, 27 Sep 2007 21:35:33 +0200, "Bertil Isberg" <ctech (AT) corel (DOT) ca>
wrote:

Quote:
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?
The path and filename of the form is:

P:\CDSNAData\CDSNA MASTER DATA Edit Form v3.4.fsl

Paradox 11 displays:
Form : P:\CDSNAD~1\CDSNAM~2.FSL

Paradox 8 displays:
Form : P:...\CDSNA MASTER DATA Edit Form v3.4.fsl


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

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-28-2007 , 12:52 PM



On Thu, 27 Sep 2007 23:39:08 +0200, "Anders Jonsson"
<gt3TakeThisAway (AT) bredband (DOT) net> wrote:

Quote:
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.

But if you give the form a TITLE, than one will show in the titlebar and I
assume Windows will read that.
In that regard, you are correct. But, that method only changes the
word Paradox to some other title.

I need the name in the title bar of Paradox's active child window
because the user may have multiple Paradox forms open. The application
needs to read the active child window name so it can take appropriate
action based on which form the user is currently using. Different
forms require slightly different actions. I could change the
application so that it would ask the user if they have mutliple
Paradox forms open and which form they are currently using, but with
Paradox 8 getting the title of the active child window via the OS and
then taking the appropriate action was completely transparent to the
User.


Reply With Quote
  #14  
Old   
Tony McGuire
 
Posts: n/a

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




Can you not use a library (or ini file or environment), and use
setfocus of the form to set the value (lib/ini/env) of the current
form?

Then you don't rely on the current version of Paradox, or Windows.
You can set it internally, so the action you take is ALWAYS correct.


You have control from within, programmatically. A window title name
is obviously something that can be displayed differently by something
you have no control over.


------------------------------
Tony McGuire



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

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





I can only say, that this doesn't happen to me, not even when I add spaces
and dots to the form's filename. And that there is no setting in Paradox to
make this happen.

How do you open the form?

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

"Ike" <spamminator (AT) spamminator (DOT) com> skrev i meddelandet
news:et7qf397brl5def7vuku300vgpe4udh58g (AT) 4ax (DOT) com...
Quote:
On Thu, 27 Sep 2007 21:35:33 +0200, "Bertil Isberg" <ctech (AT) corel (DOT) ca
wrote:

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?

The path and filename of the form is:

P:\CDSNAData\CDSNA MASTER DATA Edit Form v3.4.fsl

Paradox 11 displays:
Form : P:\CDSNAD~1\CDSNAM~2.FSL

Paradox 8 displays:
Form : P:...\CDSNA MASTER DATA Edit Form v3.4.fsl



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

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



I agree with Bertil; none of my paradox version show this short file
naming convention.

The main question here is about that "other application" you are talking
about. Is it a Paradox application or is it something else?

If it is Paradox, then take the highway and go with Tony's advice: use a
library to exchange data. If it is something else and you therefore need
to keep on doing your thing with the form title, then I rest my case:
put the filename in the title yourself in the format that you want,
using the fileName and setTitle methods of the form.

Regards
Jan Stegehuis


Bertil Isberg schreef:
Quote:
I can only say, that this doesn't happen to me, not even when I add spaces
and dots to the form's filename. And that there is no setting in Paradox to
make this happen.

How do you open the form?


Reply With Quote
  #17  
Old   
Rick Rans
 
Posts: n/a

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-28-2007 , 06:34 PM



Ike

I thing you changed the wrong thing and changed the "Paradox" Application
Name, not the form name.

You can change the form name with code like this
-------------------------------------------------------------------------
var
resultsForm Form
endVar

resultsForm.Open(":TAMI_T:EQUIP_H.fsl")
resultsForm.SetTitle("EQUIPMENT HOURLY DATA")
----------------------------------------------------------------------------

resultsForm is a Form varriable and the first line of code opens the form
and the second line sets its title

I think you tried
-------------------------------------------------------------------------
SETTITLE("Title")

-------------------------------------------------------------------------
Which changes the application title whick is "Paradox" by default


HTH - Rick


"Ike" <spamminator (AT) spamminator (DOT) com> wrote

Quote:
On Thu, 27 Sep 2007 23:39:08 +0200, "Anders Jonsson"
gt3TakeThisAway (AT) bredband (DOT) net> wrote:


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.

But if you give the form a TITLE, than one will show in the titlebar and I
assume Windows will read that.

In that regard, you are correct. But, that method only changes the
word Paradox to some other title.

I need the name in the title bar of Paradox's active child window
because the user may have multiple Paradox forms open. The application
needs to read the active child window name so it can take appropriate
action based on which form the user is currently using. Different
forms require slightly different actions. I could change the
application so that it would ask the user if they have mutliple
Paradox forms open and which form they are currently using, but with
Paradox 8 getting the title of the active child window via the OS and
then taking the appropriate action was completely transparent to the
User.



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

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-28-2007 , 09:40 PM



Quote:
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.

But if you give the form a TITLE, than one will show in the titlebar and I
assume Windows will read that.

In that regard, you are correct. But, that method only changes the
word Paradox to some other title.


I don't understand this.

If you go into design mode of your form, chose Format-Window Style from the
menu and in Window properties - Title enter "MyTitle" and save the form.
Next time you open the form it should read "MyTitle" in the title bar. Does
that happen for you? If it does, what name will your other application read?

I also agree with the others, I haven't seen the type of short names you are
seeing.

There must be something in the way you open your forms that cause this.
Could you show the code you are using for opening your forms?

Anders
PS. I'm using P10 which is basically the same as P11





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

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-29-2007 , 12:04 PM



On Fri, 28 Sep 2007 22:33:15 +0200, "Bertil Isberg" <ctech (AT) corel (DOT) ca>
wrote:

Quote:

I can only say, that this doesn't happen to me, not even when I add spaces
and dots to the form's filename. And that there is no setting in Paradox to
make this happen.

How do you open the form?
There is a shortcut on the desktop with a target of:

"P:\CDSNAData\CDSNA MASTER DATA Edit Form v3.4.fsl"

I get the same behavior if I go directly to the folder and double
click the FSL file. The odd thing is when I double click the Paradox
table that the FSL form accesses, Paradox displays the entire table
name. It appears that this odd behavior only affects the FSL files. I
find this to be an interesting and frustrating conundrum.
-Ike


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

Default Re: Paradox 11 Title Bar 8.3 Naming Convention - 09-29-2007 , 12:19 PM



On Sat, 29 Sep 2007 03:40:20 +0200, "Anders Jonsson"
<gt3TakeThisAway (AT) bredband (DOT) net> wrote:

Quote:
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.

But if you give the form a TITLE, than one will show in the titlebar and I
assume Windows will read that.

In that regard, you are correct. But, that method only changes the
word Paradox to some other title.



I don't understand this.

If you go into design mode of your form, chose Format-Window Style from the
menu and in Window properties - Title enter "MyTitle" and save the form.
Next time you open the form it should read "MyTitle" in the title bar. Does
that happen for you? If it does, what name will your other application read?

I also agree with the others, I haven't seen the type of short names you are
seeing.

There must be something in the way you open your forms that cause this.
Could you show the code you are using for opening your forms?

Anders
PS. I'm using P10 which is basically the same as P11


Anders,
You fixed it for me. Thank you for pointing me in a direction I was
not aware of. Previously I had clicked Tools > Settings > Preferences
and then changed the title. I was not aware of your solution. Your
directions made what to do very clear. Now that I see it, it makes
perfect sense. Yours was the easiest solution and was dead simple to
do. Thank you very much, and thanks to all the others who offered
multiple solutions.
-Ike (who still has much to learn about Paradox)


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 - 2008, Jelsoft Enterprises Ltd.