|
Home > Archive > Getting Started with dBASE > July 2005 > Memo editor instead of memo-content indicator in deployed application
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 |
Memo editor instead of memo-content indicator in deployed application
|
|
| Malcolm Horsnell 2005-06-30, 9:23 am |
| When I do an SQL search from within my deployed application, and view the
results with a browse screen, the memo field has an editor. When I do the
same from within the IDE, the memo field appears with a memo-content
indicator. I want the latter in the deployed application. Why am I getting
an editor instead of the memo-content indicator in the deployed application?
How can I correct this, so I get the memo-content indicator in the deployed
application? I didn't have this problem with version 1 of my application
which used dB2K, and I'm still using the same code.
I'm using dBase Plus 2.5 and Inno setup with Windows 2000.
Malcolm Horsnell
| |
| Ken Mayer [dBVIPS] 2005-06-30, 11:23 am |
| Malcolm Horsnell wrote:
> When I do an SQL search from within my deployed application, and view the
> results with a browse screen, the memo field has an editor. When I do the
> same from within the IDE, the memo field appears with a memo-content
> indicator. I want the latter in the deployed application. Why am I getting
> an editor instead of the memo-content indicator in the deployed application?
> How can I correct this, so I get the memo-content indicator in the deployed
> application? I didn't have this problem with version 1 of my application
> which used dB2K, and I'm still using the same code.
>
> I'm using dBase Plus 2.5 and Inno setup with Windows 2000.
Check the HOW TO on working with the grid, and also the HOW TO on .INI
files. Both of these cover the .ini setting that is useful for this.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Malcolm Horsnell 2005-07-01, 1:23 pm |
| Thanks Ken,
That solved part of my problem. Adding a [Grid] section with the command
DefaultMemoEditor=1 makes a memo-content indicator (mci) show in the grid.
However, in the IDE, I can open a .dbf file and cycle through 3 views of the
data with F2. All three views show a memo-content indicator. With the browse
screen (used to view the result of an SQL search) in my application, when I
use F2 I get the mci in the grid, but the other two views show an editor,
not the mci. How do I get the mci in all three views, just like in the IDE
with a .dbf file?
In the .INI How To, under [ComponentTypes] there is a command
ComponentTypeMemo=0. I changed that to 1, but it made no difference.
Malcolm Horsnell
"Ken Mayer [dBVIPS]" < dbase@_nospam_golden
stag.net> wrote in message
news:60h1qdYfFHA.1528@news-server...
> Malcolm Horsnell wrote:
the[color=darkred]
the[color=darkred]
getting[color=darkre
d]
application?[color=darkred]
deployed[color=darkr
ed]
>
> Check the HOW TO on working with the grid, and also the HOW TO on .INI
> files. Both of these cover the .ini setting that is useful for this.
>
> Ken
>
> --
> /(Opinions expressed are purely my own, not those of dataBased
> Intelligence, Inc.)/
>
> *Ken Mayer* [dBVIPS]
> /Golden Stag Productions/
> dBASE at goldenstag dot net
> http://www.goldenstag.net/GSP
> http://www.goldenstag.net/dbase
| |
| Ken Mayer [dBVIPS] 2005-07-03, 11:23 am |
| Malcolm Horsnell wrote:
> Thanks Ken,
>
> That solved part of my problem. Adding a [Grid] section with the command
> DefaultMemoEditor=1 makes a memo-content indicator (mci) show in the grid.
>
> However, in the IDE, I can open a .dbf file and cycle through 3 views of the
> data with F2. All three views show a memo-content indicator. With the browse
> screen (used to view the result of an SQL search) in my application, when I
> use F2 I get the mci in the grid, but the other two views show an editor,
> not the mci. How do I get the mci in all three views, just like in the IDE
> with a .dbf file?
>
> In the .INI How To, under [ComponentTypes] there is a command
> ComponentTypeMemo=0. I changed that to 1, but it made no difference.
The browse screens are just that -- they are screens built on the fly
based on the table structure. I am not sure how to force that to show
the indicator, rather than an editor ...
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Ivar B. Jessen 2005-07-03, 8:23 pm |
| <$phTUGmfFHA.2024@news-server> datefromnewsgroupssu
bject
>Thanks Ken,
>
>That solved part of my problem. Adding a [Grid] section with the command
>DefaultMemoEditor=1 makes a memo-content indicator (mci) show in the grid.
>
>However, in the IDE, I can open a .dbf file and cycle through 3 views of the
>data with F2. All three views show a memo-content indicator. With the browse
>screen (used to view the result of an SQL search) in my application, when I
>use F2 I get the mci in the grid, but the other two views show an editor,
>not the mci. How do I get the mci in all three views, just like in the IDE
>with a .dbf file?
1) In the IDE got to Properties -> Desktop Properties -> Table ->
associate Component Types -> for field type Memo select 'Entryfield',
then press OK, OK.
2) Start form designer, open Field Palette, rightclick and select
Associate Field Types, for field type Memo select 'Entryfield', then
press OK and close form without saving.
You should now see the memo indicator everywhere. It may be overkill
to do both 1) and 2), but I leave it to you to try out the proposed
settings and tell us which settings are required to get the effect you
are looking for ;-)
Ivar B. Jessen
| |
| Malcolm Horsnell 2005-07-04, 9:23 am |
| Ivar,
I made the two settings within the IDE--setting memo field to entryfield
both from Properties menu and from the form designer pop-up menu. When I
switch these settings to editor there is no memo icon and when I switch them
to entryfield there is a memo icon, when cycling through F2, both with the
dbf files and when I do my sql search from a form and use the browse
command--BUT, only as long as I am in the IDE.
I rebuilt my exe file and then rebuilt the installation files with INNO and
then (after uninstalling my application) I reinstalled it (on same machine
as the IDE). The installed application does not function the way the
application functions in the IDE--instead, I get an editor when cycling
through with F2. This is true when I open the application with the installed
desktop icon and when I use windows explorer to click on the rebuilt exe
file in my development folder.
Does there not appear to be some setting within the IDE that is not getting
transferred to the exe and the installed program?
Malcolm Horsnell
"Ivar B. Jessen" <bergishagen@it.notthis.dk> wrote in message
news:cohgc11iigfb2kb
692t4edeserttlqp5cj@
4ax.com...
> <$phTUGmfFHA.2024@news-server> datefromnewsgroupssu
bject
>
> 1) In the IDE got to Properties -> Desktop Properties -> Table ->
> associate Component Types -> for field type Memo select 'Entryfield',
> then press OK, OK.
>
> 2) Start form designer, open Field Palette, rightclick and select
> Associate Field Types, for field type Memo select 'Entryfield', then
> press OK and close form without saving.
>
> You should now see the memo indicator everywhere. It may be overkill
> to do both 1) and 2), but I leave it to you to try out the proposed
> settings and tell us which settings are required to get the effect you
> are looking for ;-)
>
>
> Ivar B. Jessen
| |
| Ken Mayer [dBVIPS] 2005-07-04, 1:23 pm |
| Malcolm Horsnell wrote:
> Ivar,
>
> I made the two settings within the IDE--setting memo field to entryfield
> both from Properties menu and from the form designer pop-up menu. When I
> switch these settings to editor there is no memo icon and when I switch them
> to entryfield there is a memo icon, when cycling through F2, both with the
> dbf files and when I do my sql search from a form and use the browse
> command--BUT, only as long as I am in the IDE.
>
> I rebuilt my exe file and then rebuilt the installation files with INNO and
> then (after uninstalling my application) I reinstalled it (on same machine
> as the IDE). The installed application does not function the way the
> application functions in the IDE--instead, I get an editor when cycling
> through with F2. This is true when I open the application with the installed
> desktop icon and when I use windows explorer to click on the rebuilt exe
> file in my development folder.
>
> Does there not appear to be some setting within the IDE that is not getting
> transferred to the exe and the installed program?
Find the setting that is made in your PLUS.INI file, and copy it to your
application's .INI file.
Ken
--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/
*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
| |
| Ivar B. Jessen 2005-07-04, 1:23 pm |
| <av2fXeKgFHA.320@news-server> datefromnewsgroupssu
bject
>Ivar,
>
>I made the two settings within the IDE--setting memo field to entryfield
>both from Properties menu and from the form designer pop-up menu. When I
>switch these settings to editor there is no memo icon and when I switch them
>to entryfield there is a memo icon, when cycling through F2, both with the
>dbf files and when I do my sql search from a form and use the browse
>command--BUT, only as long as I am in the IDE.
>
>I rebuilt my exe file and then rebuilt the installation files with INNO and
>then (after uninstalling my application) I reinstalled it (on same machine
>as the IDE). The installed application does not function the way the
>application functions in the IDE--instead, I get an editor when cycling
>through with F2. This is true when I open the application with the installed
>desktop icon and when I use windows explorer to click on the rebuilt exe
>file in my development folder.
>
>Does there not appear to be some setting within the IDE that is not getting
>transferred to the exe and the installed program?
When I set the memo field to be of type entry field in both places
Plus.ini has the following settings (this is what you want):
[ComponentTypes]
....
ComponentTypeMemo=1
....
ComponentTypeMemoFor
Tables=1
....
Setting the memofield to be of type Editor in both places Plus.ini has
the following settings:
[ComponentTypes]
....
ComponentTypeMemo=0
....
ComponentTypeMemoFor
Tables=0
....
Check that you have the desired settings in the deployed ini file
Ivar B. Jessen
| |
| Malcolm Horsnell 2005-07-05, 7:23 am |
| Thank you Ivar and Ken,
That works. Everything is as I want it now. So simple, once you know how to
do it.
Malcolm Horsnell
"Ivar B. Jessen" <bergishagen@it.notthis.dk> wrote in message
news:qvtic1lohusum3f
s9bn7gqnk2gepenoqm0@
4ax.com...
> <av2fXeKgFHA.320@news-server> datefromnewsgroupssu
bject
them[color=darkred]
the[color=darkred]
and[color=darkred]
machine[color=darkre
d]
installed[color=dark
red]
getting[color=darkre
d]
>
> When I set the memo field to be of type entry field in both places
> Plus.ini has the following settings (this is what you want):
>
> [ComponentTypes]
> ...
> ComponentTypeMemo=1
> ...
> ComponentTypeMemoFor
Tables=1
> ...
>
> Setting the memofield to be of type Editor in both places Plus.ini has
> the following settings:
>
> [ComponentTypes]
> ...
> ComponentTypeMemo=0
> ...
> ComponentTypeMemoFor
Tables=0
> ...
>
> Check that you have the desired settings in the deployed ini file
>
>
> Ivar B. Jessen
| |
| Ivar B. Jessen 2005-07-05, 8:23 pm |
| X-Newsreader: Forte Free Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Newsgroups: dbase.getting-started
Lines: 6
Path: news-server
Xref: news-server dbase.getting-started:970
NNTP-Posting-Host: port1076.uc2-oers.ppp.cybercity.dk 217.157.115.191
<SV41D9VgFHA.1796@news-server> datefromnewsgroupssu
bject
>Thank you Ivar and Ken,
>
>That works. Everything is as I want it now. So simple, once you know how to
>do it.
Thanks for the success report.
Ivar B. Jessen
|
|
|
|
|