Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-09 Thread fredvs
> Adding dscheckfilter to tdatasetstate  is then not necessary in this new
version 5.

Yes, of course it is necessary, because later in code, dscheckfilter is
called (a that generated the warning before).

By the way, now you may check if the data is busy to check the filter, not
sure if it is very useful but you can do it now.
And before also but it was well hidden.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-09 Thread fredvs
Hello Med.

In source from 5.0., you will see that dscheckfilter is commented now at
line 55

 //dscheckfilter = ord(high(tdatasetstate)) + 1;

It is defined now in mdb.pas at line 57

TDataSetState = (dsInactive, dsBrowse, dsEdit, dsInsert, dsSetKey,
dsCalcFields, dsFilter, dsNewValue, dsOldValue, dsCurValue, dsBlockRead,
dsInternalCalc, dsOpening, dsCheckFilter);




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-09 Thread fredvs
Hello Med.

So happy to read you!

> What do you think ?

That is great that you jump into code and test it.
Of course please if you see something wrong, fix it.
Do you have a Github account?

The fixes are about wrong use of enumeration.

dsCheckFiler is a example, in original code it is declared as constant,
ord(theenum) + 1 (or something like that).

Following fpc guru advice, it is a bug,  dsCheckFiler should be part of the
enum not be a "extra member".
I did fix it and all what could be the result of it.

But sure, your fixes are more than welcome.

Fre;D








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-09 Thread mohamed hamza
Hello Fred,

   Did you notice that  dsCheckFiler is  defined as a  const at: 
msebufdataset.pas   line  55 .

Adding dscheckfilter to tdatasetstate  is then not necessary in this 
new version 5.0  . What do you think ?

Regards.

Med

De : Sieghard 
Envoyé : mercredi 8 avril 2020 20:10
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

Hello fredvs,

you wrote on Tue, 7 Apr 2020 15:19:10 -0700 (MST):

> Just to be sure, did you try our last release MSEide 5.0.0 ?
>
> It is here:
> https://github.com/mse-org/mseide-msegui/releases

I used this right when you had announced it. I just didn't get to recompile
all of my utilities yet, but what I tried looks fine.
(I'm just about fiddling with the file requester; it got a new function to
start an external program with the selected files, and I'm fiddling how to
make it announce the next action or let the user terminate the sequence. At
this point, no new form will show right now...)
(BTW, dialogs aren't really a strong area of msegui at all, I think.)

--
--
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-08 Thread fredvs
Hello Sieghard.

> (BTW, dialogs aren't really a strong area of msegui at all, I think.) 

Huh, all dialogs used in ideU, StrumPract and all my other msegui
applications are custom dialogs...
Me too, I am not too fan of the mse-gui original dialogs (but it easy to
customize it).

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-08 Thread Sieghard
Hello fredvs,

you wrote on Tue, 7 Apr 2020 15:19:10 -0700 (MST):

> Just to be sure, did you try our last release MSEide 5.0.0 ?
> 
> It is here:
> https://github.com/mse-org/mseide-msegui/releases

I used this right when you had announced it. I just didn't get to recompile
all of my utilities yet, but what I tried looks fine.
(I'm just about fiddling with the file requester; it got a new function to
start an external program with the selected files, and I'm fiddling how to
make it announce the next action or let the user terminate the sequence. At
this point, no new form will show right now...)
(BTW, dialogs aren't really a strong area of msegui at all, I think.)

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---




___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-07 Thread fredvs
Hello Sieghard.

Just to be sure, did you try our last release MSEide 5.0.0 ?

It is here:
https://github.com/mse-org/mseide-msegui/releases

And the source here (click on green button "Clone or download" then download
zip):
https://github.com/mse-org/mseide-msegui/

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-07 Thread Sieghard
Hello fredvs,

you wrote on Sun, 5 Apr 2020 12:14:06 -0700 (MST):

> > Then Why do I have this AboutForm Form  ( See attach.)   .   
> 
> Huh yes indeed I dont really understand how Martin assigned the release
> number.
> 
> In his source it was last release 4.6.2 and trunk 4.6.3.

Yes, and it is still there in my ide, downloaded from the officical release
site (see attachment). The original download page does even still exist!

> No sorry I do not understand why he used version 4.7 in about-form and
> 4.6.2 in source.

If someone has a _different_ AboutForm display, I suppose he must have
gotten himself a later (trunk?) intermediate version, maybe as a bug fix or
something like that.

-- 
-- 
(Weitergabe von Adressdaten, Telefonnummern u.ä. ohne Zustimmung
nicht gestattet, ebenso Zusendung von Werbung oder ähnlichem)
---
Mit freundlichen Grüßen, S. Schicktanz
---
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
@ Med.

I think there is problem with mse mailing list.

Maybe better use mse-forum for continuing the discussion.

http://mse-org.111682.n8.nabble.com/

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza
<


De : fredvs 
Envoyé : dimanche 5 avril 2020 14:38
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

> MseGui Version 4.6.3

Hu, last version from Martin was:

Version 4.6.2 2018-11-03

???

Please do like this to download last msegui source:

Go to site:
https://github.com/mse-org/mseide-msegui

Then click on the green button at middle-top right "Clone or Download" and
choose Download zip.
Un-compress the file and use that directory as source for msegui.








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
Hello Mohamed.

Did you read my previous mail?

I said that ok, it is my fault, it is me that has done the modifs.
It was because of range error warning with the enum variable.
It was long discussion about this in mse-mailing list and also fpc
mailing-list.

fpc enum warning

  

Is it a problem when you add a last element in your enum?
Does it compile ok after that?






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
> Then Why do I have this AboutForm Form  ( See attach.)   . 

Huh yes indeed I dont really understand how Martin assigned the release
number.

In his source it was last release 4.6.2 and trunk 4.6.3.

No sorry I do not understand why he used version 4.7 in about-form and 4.6.2
in source.

Anyway, in last release it is version 5.0.0 in about-form and source.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza



De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:45
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0




De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:34
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0

Then Why do I have this AboutForm Form  ( See attach.)   .


De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:31
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0

<


De : fredvs 
Envoyé : dimanche 5 avril 2020 14:38
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

> MseGui Version 4.6.3

Hu, last version from Martin was:

Version 4.6.2 2018-11-03

???

Please do like this to download last msegui source:

Go to site:
https://github.com/mse-org/mseide-msegui

Then click on the green button at middle-top right "Clone or Download" and
choose Download zip.
Un-compress the file and use that directory as source for msegui.








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Capture.7z
Description: Capture.7z
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza



De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:34
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0

Then Why do I have this AboutForm Form  ( See attach.)   .


De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:31
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0

<


De : fredvs 
Envoyé : dimanche 5 avril 2020 14:38
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

> MseGui Version 4.6.3

Hu, last version from Martin was:

Version 4.6.2 2018-11-03

???

Please do like this to download last msegui source:

Go to site:
https://github.com/mse-org/mseide-msegui

Then click on the green button at middle-top right "Clone or Download" and
choose Download zip.
Un-compress the file and use that directory as source for msegui.








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza
Then Why do I have this AboutForm Form  ( See attach.)   .


De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 18:31
À : General list for MSEide+MSEgui 
Objet : RE: [MSEide-MSEgui-talk] Error compiling with 5.0

<


De : fredvs 
Envoyé : dimanche 5 avril 2020 14:38
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

> MseGui Version 4.6.3

Hu, last version from Martin was:

Version 4.6.2 2018-11-03

???

Please do like this to download last msegui source:

Go to site:
https://github.com/mse-org/mseide-msegui

Then click on the green button at middle-top right "Clone or Download" and
choose Download zip.
Un-compress the file and use that directory as source for msegui.








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
> MseGui Version 4.6.3

Hu, last version from Martin was:

Version 4.6.2 2018-11-03

???

Please do like this to download last msegui source:

Go to site:
https://github.com/mse-org/mseide-msegui

Then click on the green button at middle-top right "Clone or Download" and
choose Download zip.
Un-compress the file and use that directory as source for msegui. 








--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
Re-hello Med.

Now that I did recheck, there was lot of fixes in databases files.
The most about enum variables.

I did not test databases so it is great that you could test it.

If you see other problems, please say it.

Fre;D




--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
> MseGui Version 4.6.3

Ha, ok,  I see, you are used a trunk version so the version was 4.6.3.

If so, I do not understand why you did not have the error with 4.6.3, but
maybe you are using a old trunk 4.6.3, not the latest.

The latest trunk 4.6.3 from https://gitlab.com/mseide-msegui/mseide-msegui
has already dscheckfilter.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread Fred van Stappen
Seems that previous mails did not passed...

OK, 3 th  retry.

Hello Med.

TDataSetState is set in mdb.pas with this:

TDataSetState = (dsInactive, dsBrowse, dsEdit, dsInsert, dsSetKey,
dsCalcFields, dsFilter, dsNewValue, dsOldValue, dsCurValue, dsBlockRead,
dsInternalCalc, dsOpening, dscheckfilter);

So in your code is missing last element: dscheckfilter.

Try this (see last element):

DatasetStates:array[tdatasetstate] of string =('Inactive', 'Browse', 'Edit', 
'Insert', 'SetKey',

 'Calc', 'Filter', 'NewValue', 'OldValue', 'CurValue', 
'BlockRead','InternalCalc', 'Opening', 'CheckFilter')

May I ask you what earlier version of MSEgui did you use?

Because in previous release, dscheckfilter was already implemented, I did not 
add it.

Fre;D


De : mohamed hamza 
Envoyé : dimanche 5 avril 2020 12:31
À : General list for MSEide+MSEgui 
Objet : [MSEide-MSEgui-talk] Error compiling with 5.0

Hello Fred,

This line :

const

DatasetStates:array[tdatasetstate] of string =('Inactive', 'Browse', 'Edit', 
'Insert', 'SetKey',

 'Calc', 'Filter', 'NewValue', 'OldValue', 'CurValue', 
'BlockRead','InternalCalc', 'Opening')

gives me :  error expected another 1  array  element

this error does not appear with older version of mseide-msegui?

Regards.
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza

Hello Fred,

 MseIde Version  4.6.3
 MseGui Version 4.6.3

 Regards.

De : fredvs 
Envoyé : dimanche 5 avril 2020 12:42
À : mseide-msegui-talk@lists.sourceforge.net 

Objet : Re: [MSEide-MSEgui-talk] Error compiling with 5.0

Hello Med.

TDataSetState is defined in mdb.pas with this:

TDataSetState = (dsInactive, dsBrowse, dsEdit, dsInsert, dsSetKey,
dsCalcFields, dsFilter, dsNewValue, dsOldValue, dsCurValue, dsBlockRead,
dsInternalCalc, dsOpening, dscheckfilter);

So in your code is missing last élément "dscheckfilter":

This will work (see last element):

DatasetStates:array[tdatasetstate] of string =('Inactive', 'Browse', 'Edit',
'Insert', 'SetKey',

 'Calc', 'Filter', 'NewValue', 'OldValue', 'CurValue',
'BlockRead','InternalCalc', 'Opening', 'CheckFilter')

May I ask what earlier version of MSEgui did you use?
Because I never did add this last element in the array and it was already
present in previous release.

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
Hello Med.

TDataSetState is defined in mdb.pas with this:

TDataSetState = (dsInactive, dsBrowse, dsEdit, dsInsert, dsSetKey,
dsCalcFields, dsFilter, dsNewValue, dsOldValue, dsCurValue, dsBlockRead,
dsInternalCalc, dsOpening, dscheckfilter);

So in your code is missing last élément "dscheckfilter":

This will work (see last element):

DatasetStates:array[tdatasetstate] of string =('Inactive', 'Browse', 'Edit',
'Insert', 'SetKey',

 'Calc', 'Filter', 'NewValue', 'OldValue', 'CurValue',
'BlockRead','InternalCalc', 'Opening', 'CheckFilter') 

May I ask what earlier version of MSEgui did you use?
Because I never did add this last element in the array and it was already
present in previous release.

Fre;D






--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


Re: [MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread fredvs
Hello Med.

Please, give more code, how could I understand what is wrong?

A little demo would be welcome.

Fre;D



--
Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/


___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk


[MSEide-MSEgui-talk] Error compiling with 5.0

2020-04-05 Thread mohamed hamza
Hello Fred,

This line :

const

DatasetStates:array[tdatasetstate] of string =('Inactive', 'Browse', 'Edit', 
'Insert', 'SetKey',

 'Calc', 'Filter', 'NewValue', 'OldValue', 'CurValue', 
'BlockRead','InternalCalc', 'Opening')

gives me :  error expected another 1  array  element

this error does not appear with older version of mseide-msegui?

Regards.
___
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk