PDA

View Full Version : Adding Dwords



NewsArchive
08-03-2006, 10:12 AM
Hi Friedrich

Just spotted this problem, if I am adding a Dword and its longer than what
can be shown in the column list then you cant add any more letters to the
Dword. To get around this, you need to make the column wider then add the
Dword.

fwiw.<g>

Cheers

Richard

NewsArchive
08-03-2006, 10:12 AM
Hi Richard,

Where exactly is this? Can you post a screenshot?

:)

Thanks,
Friedrich

NewsArchive
08-03-2006, 10:12 AM
Hi Friedrich

Where I am typing in "TypeInSomething" I am trying to type in
TypeInSomethingHere" but becuase the column isnt wide enough it wont let me
type in "Here" it bleeps.

hth

Cheers

Richard

NewsArchive
08-03-2006, 10:12 AM
Hi Richard,

Hmm, very good! You are absolutely right. I checked the source code but I
do not have any limit defined. Can this be a Edit In Place limitation? And
if this is the case, do you have any idea on how to overcome that
limitation?

Thanks,
Friedrich

NewsArchive
08-03-2006, 10:13 AM
Hi Richard,

I checked this and I fear it's an "Edit In Place" limitation :-(

Thanks,
Friedrich

NewsArchive
08-04-2006, 03:41 AM
Hi Friedrich,

>I checked this and I fear it's an "Edit In Place" limitation :-(

Is this a clarion listbox? Is it handcoded? If so, then all you need
to do is change the declaration and picture for the entry field used
in it. If it's a browse with EIP, then I think it will take the
picture from the column.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-04-2006, 03:41 AM
Hi Arnór,

It's a Clarion listbox, all handcoded. Thank you for the information!
I'll check the source code.

Friedrich

NewsArchive
08-04-2006, 03:41 AM
Hi Friedrich,

>It's a Clarion listbox, all handcoded. Thank you for the information!
>I'll check the source code.

Then you have control over it with the edit entry and the use
variable. I created a EIP for INI files that could handle upto 255
characters pr. line so I know you can do what you need:)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-05-2006, 06:20 AM
Hi Arnór,

No way, I cannot get it to work :-(

I have this to initialize the EIP. The picture for the entry field is
@s254 (column 1 is @s254).


InitRegistryValueEditInPlace ROUTINE
?RegistryInformationList{PROP:Edit, 1} = ?EditRegistryValueEntry
?EditRegistryValueEntry{PROP:Use} = RegistryInformationQ:RGQ:Item
?EditRegistryValueEntry{PROP:Alrt} = EnterKey
?EditRegistryValueEntry{PROP:Touched} = 1
?EditRegistryValueEntry{PROP:Font, 1} = 'Tahoma'
?EditRegistryValueEntry{PROP:Text} =
?RegistryInformationList{PROPLIST:picture, 1}


The problem is that if the cursor is at the end of the column, I cannot
enter any more data (see screenshots).

Any idea?

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
08-05-2006, 06:20 AM
> Any idea?

Hi Friedrich,

Worst case scenario - pull a Clarion IDE trick perhaps?

Alert F10 and open a text control window at that point if needed for long
string inputs (this might be handy anyway to see long strings).

Just an idea in case Arnor or someone else can't get you going...

;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
08-05-2006, 06:20 AM
Hi Charles,

Thank you for your input. The problem is that I have quite a few screens
where
I am using EIP.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
08-05-2006, 06:21 AM
Hi Friedrich,

>No way, I cannot get it to work :-(
>
>I have this to initialize the EIP. The picture for the entry field is
>@s254 (column 1 is @s254).

Go to icetips and download:

http://www.icetips.com/ftp/misc_files/editini.zip

This is an old (C4 I think) Legacy app that uses EIP on handcoded
queue that is loaded from a file. It should not be any different
(theoretically;) from what you are doing - the only difference I see
is that you have an icon in your list, I don't.

Open the EditIniFile procedure, then go to the window formatter, click
on the list and go to the list formatter.

Add the third queue field (LOC:Q3) after the second field. Reduce the
size of the second field (Entry data) to something like 40 or so.

Compile and run the app. Load an INI file and then double click in
the "Entry Data" column. The EIP will pop up. Type in whatever you
want and you will see that it keeps accepting data even though it has
filled the column.

What I suspect is that either setting the runtime values is not
working properly, or that some other property is interfering with it.

Hope you can digest something from this...

Could you post the queue structure?

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-05-2006, 06:21 AM
Hi Arnór,

Thank you for your help! I have downloaded the file and will check the
source code. I'll keep you posted.

Thanks again!

Friedrich

NewsArchive
08-05-2006, 06:21 AM
Hi Friedrich,

>Thank you for your help! I have downloaded the file and will check the
>source code. I'll keep you posted.

Just be gentle with that old thing! It's close to 8 years old and
needs tender love and care<g>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-05-2006, 06:21 AM
Hi Arnór,

Well, your demo app compiled with 6.3 works without any problem :) So it
seems to be caused by code.

I still have not figured out what the difference is between your EIP and
my stuff.

Thanks again!

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
08-05-2006, 06:22 AM
Hi Arnór,

Okay, I know what's going on.

I am using a TEXT control instead of an ENTRY in my EIP stuff. Your ENTRY
works fine and if the column isn't wide enough, you can still type in more
information.

This does not work if you have a TEXT control. I am using a TEXT control
here to support mouse right-click -> copy|paste|etc in EIP.

So I only have to add:

?EditRegistryValueEntry{PROP:Single} = 1

and it works fine :)

Thanks,
Friedrich

NewsArchive
08-05-2006, 08:02 AM
Hi Friedrich,

>?EditRegistryValueEntry{PROP:Single} = 1
>
>and it works fine :)

Cool! I could have told you that... I think...<g> Glad it worked:)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
08-05-2006, 08:02 AM
:)

Friedrich