x++


Passing FromControl in a lookup override method


I need to update a form in AX to use a complex drop down box. To do this, I need to override the Lookup method. According to the code example I have, code like this should work:
public void lookup(FormControl _formControl){}
Unfortunately, I receive the compile error "The method override has an incorrect number of parameters." From what I can tell, this error makes no sense as this is a valid override of the method. How do I fix this?
The lookup method on a datasource field on a form should be defined as:
public void lookup(FormControl _formControl, str _filterStr) {}
The lookup method on a control on a form should be defined as:
public void lookup() {}
In the AOT, if you right click on the Methods node where you want the function created and select Override method/lookup, AX will create a method with the correct signature for you.

Related Links

SSRS MS words report with page break
How can you get a detailed error descriptions in Dynamics AX?
How to get the length of an array?
X++ loop through lines in grid control
Concatenating row values in x++
How do you access a macro in the AOT macro node?
How can I set the Backgoundcolor of an AX2012 Action Pane Button
How to Edit address using X++ in AX 2012
Number sequence issue Ax 2012?
Find code that's running in a Batch Job
What is the _isMexican boolean for in the Global::Checkpower method?
AlwaysOnTop property not behaving properly
Boolean AND logic in Microsoft Dynamics AX 2012 AIF QueryCriteria
Table: PrintMgmtSettings Field: Printjobsettings(Blob)
What happened to the hrplimittablerelationship table in ax-2012-r2?
Why is my changes ignored to releaseupdate scripts in dynamics ax 2012 r2

Categories

HOME
paraview
jmeter
phpmyadmin
formal-languages
character-encoding
apiblueprint
cq5
gembox-spreadsheet
jquery-ui
spring-session
frontend
plist
supervisor
endpoint
selectize.js
cumulocity
standards
foreign-keys
enterprise-miner
boost-icl
ios10.2
visual-studio-extensions
xcode-ui-testing
google-cloud-print
angularjs-components
has-and-belongs-to-many
openmdao
google-earth
panoramas
gitlab-api
recurring-events
complex-numbers
powershell-ise
jbutton
android-sugarorm
keras-layer
carriage-return
pdw-file-browser
imagenet
tex
flatmap
sim-card
metawidget
movilizer
android-checkbox
file-sharing
berkeley-db-je
manova
singleinstance
custom-font
cup
reshape
cmp
jtree
cudd
file-uri
uicolor
windows-azure-queues
synonym
eigenvector
mediametadataretriever
findfirst
pushbots
grass
cycle2
rasterize
forwarding
microsoft-reporting
ember-cli-rails
haskell-warp
baasbox
linked-tables
graphics2d
botan
entity-framework-4.3
cross-join
execve
pseudo-class
spy++
entry-point
human-computer-interface
build-script
gnumeric
spring-remoting
mutual-authentication
git-repo
away3d
cocoalibspotify-2.0
observium
mvc-editor-templates
route-provider
node-blade
dolby-audio-api
octal
traceability
joomla3.1
listitem
subproject
unattended-processing
msr
codebase
cloudfiles
resharper-6.0
spread
wcf-proxy

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App