EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.betatest » dlgStringEdit history issue
dlgStringEdit history issue [message #165738] Thu, 19 May 2016 09:49 Go to next message
warrenbrayshaw
Messages: 1761
Registered: January 2010
Location: New Zealand
Senior Member
The history capability of dlgStringEdit() has an issue.

Generally history works as you would expect but there is a problem.
If I have previously entered, for example, 'ABc' and then realise I
should have entered 'Abc', I can enter it but it is immediately replaced
by 'ABc. and so I am stuck with the first entered string.
i.e I cannot edit the string

Attached is a ULP to demonstrate.

I hope you can fix this

Thanks
Warren



string hist[] = {"aaa","bbb","ccc"},hist2[];
string txt = "initial",txt2 = "Initial2";
//**********************************
void DoHistory(){
dlgDialog("History test"){
dlgStringEdit(txt,hist,10);
dlgStringEdit(txt2,hist2,10);
dlgPushButton("OK") dlgAccept();
};
}
//***********Main*******************
dlgDialog("History test"){
dlgPushButton("+DoHistory") DoHistory();
dlgPushButton("-Exit") dlgReject();
};
  • Attachment: HIstory.ulp
    (Size: 0.42KB, Downloaded 194 times)
Re: dlgStringEdit history issue [message #165984 is a reply to message #165738] Tue, 07 June 2016 10:00 Go to previous messageGo to next message
Walter Spermann
Messages: 540
Registered: August 2010
Senior Member
On 05/19/2016 11:49 AM, warrenbrayshaw wrote:
> The history capability of dlgStringEdit() has an issue.
>
> Generally history works as you would expect but there is a problem.
> If I have previously entered, for example, 'ABc' and then realise I should have entered 'Abc', I can
> enter it but it is immediately replaced by 'ABc. and so I am stuck with the first entered string.
> i.e I cannot edit the string
>
> Attached is a ULP to demonstrate.
>
> I hope you can fix this
>
> Thanks
> Warren
>
>
It's fixed for next beta (V7.6.1).

Regards,
Walter Spermann


--
--------------------------------------------------------------------------- -------------------------------
Walter Spermann
Software Development
CadSoft Computer GmbH
Pleidolfweg 15
84568 Pleiskirchen
Tel.: 08635/6989-10
www.cadsoft.de
--------------------------------------------------------------------------- -------------------------------
Registergericht: Amtsgericht Traunstein HRB 5573
Geschäftsführer: Mark Whiteling
--------------------------------------------------------------------------- -------------------------------
Re: dlgStringEdit history issue [message #165994 is a reply to message #165984] Wed, 08 June 2016 00:27 Go to previous message
warrenbrayshaw
Messages: 1761
Registered: January 2010
Location: New Zealand
Senior Member
Thank you for the fix.

Warren


Previous Topic: m2 [1/1] - "sc.cmd" yEnc (1/1)
Next Topic: Strange warnings ... 7.5.4 W32.
Goto Forum:
  


Current Time: Thu Jul 27 04:45:21 GMT 2017