SF 1.6.6 - Error - IPControl versus TextBox


Author
Message
Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
The inclusion of a IPControl in form modifies the behavior of the cursor in the fields type textbox.



Rogério Mauri Smile



Attachments
StrataFrameErrorImageIPControl.jpg (128 views, 21.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Rogério.

I tried to find any strange behaviour over here but couldn't reproduce any. Could you explain a bit further?

Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ivan...

Também não entendi qual a relação...

No entanto, tirando o IPControl do formulário o cursor nos campos Textbox volta ao normal (no final). Incluindo o IPControl o cursor volta a ter o comportamento estranho (recua para o início da textbox).

Detalhes:
 - v.1.6.6
 - Windows Vista

Rogério Mauri Smile



Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ivan... Bom Dia...

Analise este formulário em duas situações. O problema do posicionamento do cursor de edição na digitação de valores em campos TextBox surge quando um IPControl (MicroFour.StrataFrame.UI.Windows.Forms.IPControl) é adicionado ao formulário. Você digita o texto e o cursor de edição se desloca, ou à esquerda (no início do texto) ou à direita (como no exemplo abaixo). Tirando o IPControl do formulário o comportamento do cursor de edição volta ao normal (à direita do último caracter digitado).

COM O CONTROLE IPCONTROL

SEM O CONTROLE IPCONTROL



Rogério Mauri Smile



Edhy Rijo
E
StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)StrataFrame VIP (4.6K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
Rogerio,

I don't speak/read Portugues, but due to my Spanish I do understand a bit, I know you are discussing this with Ivan, but if you post a small sample where the problem could be duplicated, this could be resolved in not time and possible included in the upcoming release of 1.6.6.

I need to use the IP control in one of my projects, but I have not started with that form yet, so I am not able to test/duplicate your findings.

Edhy Rijo

Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Edhy...
I am sending an example with the error.


Rogério Mauri Smile

Attachments
IPControlError.zip (106 views, 779.00 KB)
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Yep, I could reproduce it now. First time I tried, I didn't bind the control, and it looked like OK... sorry Blush

If you play a bit more with it, you will notice that if you type some contents in the control, and the cursor ends up on its last digit, then if you go to the other text boxes, the cursor will be at the same distance from the left side of it. Fun, isn't it? Hehe

I guess this one will be a job for Superman. BigGrin

Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Ok...

Then, we go to wait the super man


Rogério Mauri Smile

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
This control should have actually had the Obsolete tag assigned to it.  This control is no longer supported as it was a control written very early on which never had much (if any) use as MaskedTextBox controls were generally used instead.  You will be better off using a MaskedTextBox in this case.  I will go and add this attribute right now so that we do not forget. 
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search