Platforms to show: All Mac Windows Linux Cross-Platform
/Linux/ProcessList Web
Function:
Required plugins for this example: MBS Linux Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Linux/ProcessList Web
This example is the version from Sun, 15th Mar 2014.
Function:
Required plugins for this example: MBS Linux Plugin
You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Linux/ProcessList Web
This example is the version from Sun, 15th Mar 2014.
Project "ProcessList Web.xojo_binary_project"
Class App Inherits WebApplication
End Class
Class Session Inherits WebSession
Const ErrorDialogCancel = "Do Not Send"
Const ErrorDialogMessage = "This application has encountered an error and cannot continue."
Const ErrorDialogQuestion = "Please describe what you were doing right before the error occurred:"
Const ErrorDialogSubmit = "Send"
Const ErrorThankYou = "Thank You"
Const ErrorThankYouMessage = "Your feedback helps us make improvements."
Const NoJavascriptInstructions = "To turn Javascript on, please refer to your browser settings window."
Const NoJavascriptMessage = "Javascript must be enabled to access this page."
EventHandler Function UnhandledException(Error As RuntimeException) As Boolean
MsgBox Introspection.GetType(Error).fullname+": "+Error.Message
return true
End EventHandler
End Class
Class WebPage1 Inherits WebPage
Control List Inherits WebListBox
ControlInstance List Inherits WebListBox
End Control
Control Button1 Inherits WebButton
ControlInstance Button1 Inherits WebButton
EventHandler Sub Action()
List.DeleteAllRows
dim processes() as LinuxProcessMBS = LinuxProcessMBS.Processes
if processes = nil then
MsgBox "processes is nil!"
else
for each p as LinuxProcessMBS in processes
if p<>nil then
List.AddRow str(p.ProcessID), p.Name, p.CommandLine
else
List.AddRow "p = nil"
end if
next
end if
End EventHandler
End Control
End Class
End Project
The items on this page are in the following plugins: MBS Linux Plugin.

Links
MBS Xojo PDF Plugins