Created
September 15, 2022 15:50
-
-
Save an01f01/e02fc3fbf8c3ecb9ca03d349bba251e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
procedure THeaderFooterwithNavigation.FormCreate(Sender: TObject); | |
var | |
url: string; | |
begin | |
{ This defines the default active tab at runtime } | |
TabControl1.First(TTabTransition.None); | |
{ TODO: Navigate to URL on load } | |
url := 'https://www.fitbit.com/oauth2/authorize?response_type=code' + | |
'&client_id=<YOUR_CLIENT_ID_GOES_HERE>' + | |
'&redirect_uri=http%3A%2F%2Flocalhost' + | |
'&scope=activity%20heartrate%20location%20nutrition%20profile%20settings%20sleep%20social%20weight%20oxygen_saturation%20respiratory_rate%20temperature' + | |
'&expires_in=604800'; | |
TMSFNCWebBrowser1.Visible := true; | |
TMSFNCWebBrowser1.Navigate(url); | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment