Jump to content


Photo

NxButtonColumn Shortcut ????


  • Please log in to reply
8 replies to this topic

#1 Burhan Cakmak

Burhan Cakmak
  • Members
  • 24 posts

Posted 17 March 2009 - 10:42 AM

Hi

I am using NxButtonColumn, it is component no shortcut, what using F10 or F12 shortcut it is Column

Thanks

#2 xr1140

xr1140
  • Members
  • 13 posts
  • Gender:Male
  • Location:Bucharest
  • Interests:vfx artist during the day, delphi programmer during the night

Posted 17 March 2009 - 01:53 PM

if that button doesn`t have a shortcut is because ... let say you have 20 rows (each row will have a NxButtonColumn). Now when the user press the shortcut ... which one of the buttons will receive the message ?

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 17 March 2009 - 07:10 PM

Hello Burhan,

I only may made that when you edit button column, you will be able to have shortcut. Again, it will work only when editing cell which are in button column.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 Burhan Cakmak

Burhan Cakmak
  • Members
  • 24 posts

Posted 23 March 2009 - 08:41 PM

Hi

yes i want as you explain.when i edit button column ,want to able to have shortcut..When you can add DATE it is change ?

Thanks

#5 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 24 March 2009 - 03:08 AM

Hello Burhan,

I will send you solution tomorow.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#6 Burhan Cakmak

Burhan Cakmak
  • Members
  • 24 posts

Posted 07 May 2009 - 02:36 PM

Hi

What date new releas and shortcut ?

Thanks



#7 Burhan Cakmak

Burhan Cakmak
  • Members
  • 24 posts

Posted 25 June 2009 - 09:38 PM

Hi,

Boki please add shortcut property NxButtonColumn

thanks

Burhan Cakmak

#8 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 25 June 2009 - 09:55 PM

Hello Burhan,

I have try to add it, but it seems to be complicated than I suspect. I will try to do something by tomorow. Stay tuned.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#9 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 26 June 2009 - 05:54 PM

Hello Burhan,

Unfortunatelly, I was not able to add this property internaly inside Grid.

But, you may use next code (inside OnKeyDown of Grid) to get behavior that you need:

CODE
procedure TForm1.NextGrid1KeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
  if NextGrid1.EditingCell.X = 1 then // 1 is index of button column
    case Key of
      VK_F11: ShowMessage('Hello');
    end;
end;


We have check to see if button column is editing column and then check if F11 key is pressed.

I hope that this helps. smile.gif

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users