Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - Mobile/PDA/Handhelds
Forum to discuss use of SalesLogix with mobile devices including SalesLogix mobile and other mobile solutions. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Mobile/PDA/Handhelds | New ThreadView:  Search:  
 Author  Thread: Main ActionBars
William Vespe
Posts: 16
 
Main ActionBarsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 26 Sep 07 1:57 PM
Does anyone know if it is possible to default the search screens that come up when a Search Action bar item is selected to display the actual lookup data without hitting the spy glass?
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Main ActionBarsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 27 Sep 07 7:03 AM
William,

On the BlackBerry action bars there is a property called AutoPop that will automatically populate the grid when the Action Bar Item is selected. This does not exist on the PPC Action Bar. On the PPC the search screen has a codebehind script that can execute different overridable methods. I have not looked at them for some time but there may be something that can be done there to get the behaviour that you are looking for.

Mark
[Reply][Quote]
William Vespe
Posts: 16
 
Re: Main ActionBarsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 07 1:36 PM
Mark, sounds good. I guess a big question I have is where are the docs on that? I have all the literature from the "class" they gave on it; am I missing something are is the class that basic that it does not cover stuff like this?

[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Main ActionBarsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 07 2:29 PM
William,

I do not believe this information was provided. I know that it was not something that I tought when I did the classes and have not actually written the code to do so. Unfortunately it looks as if the getting to the underlying form is not going to be quite possible. What you are going to need to do is emulate the search functionailty to show the appropiate search form. Basically create an instance of you business object, create an instance of the SearchOptions class and set the appropiate

public function ShowCustomSearch(byval e as ControlEventArgs)
Dim accountobj as new Account()
dim search as BaseSearch

search = new BaseSearch ()

try
' set all of the other options
' then set this one for autopop
search.SearchOptions.AutoPop = true
search.Text = "Caption goes here"
search.ShowDialog()
catch
end try

end function

this should go into the main navigator and you will need to change the type of actionbar item from Search to Plugin. I have not tested the code but should be close to what is expected.
[Reply][Quote]
Mark Dykun
Posts: 297
 
Re: Main ActionBarsYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Oct 07 2:30 PM
Sorry you also have to call

search.BuildForm(accountobj) before you call the show dialog or it will not know what table to bind to.

Mark
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 6:18:17 AM