876

(1 replies, posted in General)

Hello Dimitri

When I want to change caracteristics of a text in an EditBox by the way of Object Inspector, there are no changes.
But in a previous post, you said it was  a bug.

Well, I said : 'Let's pass behind et let's use a script ' (this is my script) :

procedure Affichage_Edit2_OnChange (Sender: string);
Var s : String;
begin
   s := Affichage.Edit2.Text;
   s := UpperCase(s);
   Affichage.Edit2.Font.Style := fsBold;
   Affichage.Edit2.Font.Color := $00000033;

The first instruction  works fine (UpperCase).
The two last have no effect on the text.

I'm using VDB 1.42

Any explication about this ?

Thanks for your help.

Sincere Thanks

Jean B

877

(2 replies, posted in General)

Thanks Dimitri

I'm looking PhoneBook Example to understand this principle

Thanks again !

Jean B.

878

(2 replies, posted in General)

Hello Dimitri

When creating New tables, question is asked : "the table is a dictionnary".

Do you mean that a dictionnary table is a hash table as Delphi knows it, that's to say  hash table is optimized for lookups (best speed) ?

Please, could you create a video lesson about interaction between  tables (as in PhoneBooke Example). It is not so obvious.
For example, i'm creating an application for my comics. I would use comboxboxes for drawers, scenarists, coloristes, gender, state ... and son on. Tables Drawers, Scenarists, Genders, State ... have been created. It's a lot difficult to understand how associate those tables with the main table (called Comics) so that comboboxes show various drawers, scenarists, gender ....

Thanks for your help and greats for MVD

Jean B.

879

(1 replies, posted in General)

Hello to All !

When I use Counter Component, I get this error (see file joined)
So I've looked PhoneBook exemple to see how using it
Ofcourse, I've initialized its value from beginning at 0 (zero)
In a script behind a button, I've repeated this value.
No matter, allways this !!?@@@}} .... error

No need to declare a var.
It seems that transtypage INT to String does not go right
Am I wrong ?

Thanks for your help

Jean B.

880

(1 replies, posted in Script)

Hello  to everyone !

Since new version 1.42, I met tremendous difficulty when I want write a script behind an event ...OnClick or all others. I can't open the Script form.
Of course, before,  this one has been actived. Did you face the same problem ?
Thanks for your answers

Jean B.

881

(9 replies, posted in Script)

Hello All !

How to use component Counter ?
Is it useful to get number of records in a Base ?

Otherwise, how to get number of records by the way of a Script ?
I tried but I always get an error message (unidentified <nameoftable>)

Thnkas for your help

Jean B.