Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 14 total
Thread More Delphi Help
Wed, Dec 14 2011 7:57 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

<html>
 <head>

   <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
 </head>
 <body bgcolor="#FFFFFF" text="#000000">
   Hi,<br>
   <br>
   Can any Delphi users out there please tell me why in EWB In can do
   this:<br>
   (RequestHeaders are declared as TStrings)<br>
   <br>
   &nbsp;&nbsp;<b> ServerRequest1.RequestHeaders.NameValueSeparator := '=';<br>
     &nbsp;&nbsp; ServerRequest1.RequestHeaders.Add('Content-Type = text/xml;
     charset=utf-8');</b><br>
   <br>
   But if I try this, it complains :<br>
   (I found the code structure on the internet looking for Delphi help)<br>
   <br>
   &nbsp;&nbsp; <b>ServerRequest1.RequestHeaders.Values['Content-Type'] :=
     'text/xml; charset=utf-8';</b><br>
   <br>
   The error says "Expected char but instead found 'text/xml;
   charset=utf-8'
   <div class="moz-signature">-- <br>
     Chris Holland
     <br>
     [Team Elevate]
   </div>
 </body>
</html>
Wed, Dec 14 2011 9:09 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< The error says "Expected char but instead found 'text/xml; charset=utf-8'
>>

It's a compiler bug that I fixed a couple of days ago, and hopefully I'll
have a new build up today that fixes this.

--
Tim Young
Elevate Software
www.elevatesoft.com
Wed, Dec 14 2011 9:17 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

I am glad about that, I thought I was going mad Smiley

Chris

Chris Holland [Team Elevate]

On 14/12/2011 14:09, Tim Young [Elevate Software] wrote:
> Chris,
>
> << The error says "Expected char but instead found 'text/xml;
> charset=utf-8' >>
>
> It's a compiler bug that I fixed a couple of days ago, and hopefully
> I'll have a new build up today that fixes this.
>
Wed, Dec 14 2011 9:19 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Is there anyway of converting the data that is return from my server
request into an Xml document within EWB?

Chris Holland
[Team Elevate]

On 14/12/2011 14:17, Chris Holland wrote:
> I am glad about that, I thought I was going mad Smiley
>
> Chris
>
> Chris Holland [Team Elevate]
>
> On 14/12/2011 14:09, Tim Young [Elevate Software] wrote:
>> Chris,
>>
>> << The error says "Expected char but instead found 'text/xml;
>> charset=utf-8' >>
>>
>> It's a compiler bug that I fixed a couple of days ago, and hopefully
>> I'll have a new build up today that fixes this.
>>
Thu, Dec 15 2011 4:54 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< Is there anyway of converting the data that is return from my server
request into an Xml document within EWB? >>

Normally you would use the responseXML property of the XMLHttpRequest
object, but TServerRequest doesn't surface it yet.  I'll add that to the
next build.

--
Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 15 2011 6:29 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Great,  thanks Tim I will look forward to the new build.

Now all I need is a DataTable and a Grid..... Smiley

By the way, I am also experiencing the problem of the cursor
disappearing after running the program, I have to push F12 twice to get
the cursor back in the editor.

Chris Holland
[Team Elevate]

On 15/12/2011 09:54, Tim Young [Elevate Software] wrote:
> Chris,
>
> << Is there anyway of converting the data that is return from my
> server request into an Xml document within EWB? >>
>
> Normally you would use the responseXML property of the XMLHttpRequest
> object, but TServerRequest doesn't surface it yet.  I'll add that to
> the next build.
>
Thu, Dec 15 2011 6:58 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Chris,

<< By the way, I am also experiencing the problem of the cursor disappearing
after running the program, I have to push F12 twice to get the cursor back
in the editor. >>

Do you have any specific steps to recreate this ?  I've tried every
combination that I can think of, but can't get it to happen.

We had similar reports with the EDB Manager editor, and I had the same
problem with trying to reproduce it on any machine that we have here.

Thanks,

--
Tim Young
Elevate Software
www.elevatesoft.com
Thu, Dec 15 2011 8:57 AMPermanent Link

Raul

Team Elevate Team Elevate


I get it almost every time i run the app from code editor and then
Ctrl+F2 to reset it. The cursor is missing - i can still edit but only
way to get visible cursor back is to toggle form editor and back to code
(F12 twice).

Running from form editor is ok - after reset i get back form editor,
press F12 and cursor is there in code editor.

Raul


> Do you have any specific steps to recreate this ? I've tried every
> combination that I can think of, but can't get it to happen.
>
> We had similar reports with the EDB Manager editor, and I had the same
> problem with trying to reproduce it on any machine that we have here.
Thu, Dec 15 2011 9:17 AMPermanent Link

Raul

Team Elevate Team Elevate

And more specifically it seems to happen if the running app has a
control with cursor as the 1st control (tabstop 0).

For example if form as a Tmemo so when i run it it puts the focus and
cursor in tmemo and then doing a reset resuls in no cursor in code editor.

If for example TButton is 1st control then cursor stays ok after rest.

Raul


On 12/15/2011 8:57 AM, Raul wrote:
>
> I get it almost every time i run the app from code editor and then
> Ctrl+F2 to reset it. The cursor is missing - i can still edit but only
> way to get visible cursor back is to toggle form editor and back to code
> (F12 twice).
>
> Running from form editor is ok - after reset i get back form editor,
> press F12 and cursor is there in code editor.
>
> Raul
>
>
>> Do you have any specific steps to recreate this ? I've tried every
>> combination that I can think of, but can't get it to happen.
>>
>> We had similar reports with the EDB Manager editor, and I had the same
>> problem with trying to reproduce it on any machine that we have here.
Thu, Dec 15 2011 9:36 AMPermanent Link

Chris Holland

SEC Solutions Ltd.

Avatar

Team Elevate Team Elevate

Hi Tim,

As Raul says, if I am viewing the code and run the application then the
cursor disappears, but if I am viewing the form it is fine.

I have tried with a button and an edit as the first tab stop and it
happens here on both.

Chris Holland
[Team Elevate]

On 15/12/2011 14:17, Raul wrote:
> And more specifically it seems to happen if the running app has a
> control with cursor as the 1st control (tabstop 0).
>
> For example if form as a Tmemo so when i run it it puts the focus and
> cursor in tmemo and then doing a reset resuls in no cursor in code
> editor.
>
> If for example TButton is 1st control then cursor stays ok after rest.
>
> Raul
>
>
> On 12/15/2011 8:57 AM, Raul wrote:
>>
>> I get it almost every time i run the app from code editor and then
>> Ctrl+F2 to reset it. The cursor is missing - i can still edit but only
>> way to get visible cursor back is to toggle form editor and back to code
>> (F12 twice).
>>
>> Running from form editor is ok - after reset i get back form editor,
>> press F12 and cursor is there in code editor.
>>
>> Raul
>>
>>
>>> Do you have any specific steps to recreate this ? I've tried every
>>> combination that I can think of, but can't get it to happen.
>>>
>>> We had similar reports with the EDB Manager editor, and I had the same
>>> problem with trying to reproduce it on any machine that we have here.
>
Page 1 of 2Next Page »
Jump to Page:  1 2
Image