NetTalk Central

Author Topic: Placing a button alongside the browse buttons...  (Read 4968 times)

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Placing a button alongside the browse buttons...
« on: May 10, 2012, 11:26:26 PM »
Hey all,

I have a need to place a custom button immediately next to the 'Insert', 'Change', 'Delete' buttons that run below the browse on a NetWebBrowse.

Is there an easy way to do this?

Currently I fudged it by using the 'Copy' button and changing the text on it, but unfortunately, this button doesn't appear until at least one item is in the browse (of course!) :)

Any way to place a custom button with the same styling on that line?

Thanks,
Devan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Placing a button alongside the browse buttons...
« Reply #1 on: May 11, 2012, 05:04:42 AM »
it's not trivial Devan - you've have to embed code to do it.
What are you wanting the button to do?

cheers
Bruce

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
Re: Placing a button alongside the browse buttons...
« Reply #2 on: May 11, 2012, 03:17:30 PM »
Hi Bruce,

The client wants the ability to 'bulk add' items to their order from a predefined list, as well as the normal 'Insert' button to add one item at a time.  The new button pretty much just calls a WebSource procedure that loads items into the current order via code.

By hacking the 'Copy' button, this functionality works great, and LOOKS right to them.  Essentially they want the buttons to be:

[Insert]  [Insert From Favourites]  [Change]  [Delete]


I guess option two is to bypass the checking that the 'Copy' button does when there are no records in the browse... Possible to do that?

Cheers,
Devan