El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?


Subject: El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?
El caso es:

1. Tenemos un formulario con un botón
2. Este botón hace que Label.text = "texto"
3. Quiero que justo después de que label.text = texto" y dentro de la public sub del botón , el focus se vaya a la posición col=3 row=3 de un tableview en modo editar. Para poder introducir un número en la tableview
4. No vale hacer click encima de la tableview. (a nivel de usabilidad lo encuentro mal)


Un saludo y gracias de antemano.

BrunoIV
Subject: Re: El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?
Creo que lo he conseguido (lo complicado).. Lo demás te apañas tu..xD

Se desplaza a la fila 2, columna 2 y la pone en modo edición..
TableView1.MoveTo(2, 2)
TableView1.edit

Subject: Re: El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?
Hola Bruno, gracias por tu respuesta, es posible que no estés usando el gb.gui ?
Que componentes tienes instalados en el programa? A mi no me funciona, como si MoveTo no me lo aceptara.

BrunoIV
Subject: Re: El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?
gb, gb.form, gb.gui (gambas2.21 + Debian + GNOME)

Last edited by BrunoIV on Sunday, 31 July 2011, 23:04; edited 1 time in total
Subject: Re: El Control TableView - Como Editar Un Cambio Sin Hacer Doble Clieck En El Control?
Ok, voy a verificarlo, yo uso Ubuntu.
Gracias por tu inestimable ayuda Bruno!.


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Design by DiDiDaDo

Generation Time: 0.1131s (PHP: -34% SQL: 134%)
SQL queries: 24 - Debug Off - GZIP Enabled